projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.4.23: sb-grovel x86-64/darwin fix
[sbcl.git]
/
contrib
/
sb-posix
/
interface.lisp
diff --git
a/contrib/sb-posix/interface.lisp
b/contrib/sb-posix/interface.lisp
index
517f71f
..
07ac6f5
100644
(file)
--- a/
contrib/sb-posix/interface.lisp
+++ b/
contrib/sb-posix/interface.lisp
@@
-76,7
+76,7
@@
;;; variable.
(eval-when (:compile-toplevel :load-toplevel)
(setf *c-functions-in-runtime*
;;; variable.
(eval-when (:compile-toplevel :load-toplevel)
(setf *c-functions-in-runtime*
- '`(#+netbsd ,@("stat" "lstat" "fstat" "readdir" "opendir"))))
+ '`(#+netbsd ,@("stat" "lstat" "fstat" "readdir" "opendir"))))
;;; filesystem access
;;; filesystem access
@@
-359,6
+359,11
@@
(define-pw-call "getpwnam" login-name (function (* alien-passwd) c-string))
(define-pw-call "getpwuid" uid (function (* alien-passwd) uid-t))
(define-pw-call "getpwnam" login-name (function (* alien-passwd) c-string))
(define-pw-call "getpwuid" uid (function (* alien-passwd) uid-t))
+#-win32
+(define-protocol-class timeval alien-timeval ()
+ ((sec :initarg :tv-sec :accessor timeval-sec)
+ (usec :initarg :tv-usec :accessor timeval-usec)))
+
(define-protocol-class stat alien-stat ()
((mode :initarg :mode :accessor stat-mode)
(ino :initarg :ino :accessor stat-ino)
(define-protocol-class stat alien-stat ()
((mode :initarg :mode :accessor stat-mode)
(ino :initarg :ino :accessor stat-ino)