X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fdefpackage.lisp;h=6fc71caa1dbbb3f8e81d32c78bcb3278341bc062;hb=b665ae77fc8e369b8713abf3ca9e3d8455e4c5a7;hp=e539cf3eaf0af11f8b4c67fcca443f352d945f82;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/contrib/sb-posix/defpackage.lisp b/contrib/sb-posix/defpackage.lisp index e539cf3..6fc71ca 100644 --- a/contrib/sb-posix/defpackage.lisp +++ b/contrib/sb-posix/defpackage.lisp @@ -1,4 +1,5 @@ -(defpackage :sb-posix (:use) +(defpackage :sb-posix (:use #:sb-alien #:cl) + (:shadow close open ftruncate truncate) (:export #:syscall-error #:syscall-errno ;; grovel structure accessors @@ -7,9 +8,12 @@ ;; wrapper class accessors + #:passwd-name #:passwd-passwd #:passwd-uid #:passwd-gid + #:passwd-gecos #:passwd-dir #:passwd-shell #:stat-mode #:stat-ino #:stat-dev #:stat-nlink #:stat-uid #:stat-gid #:stat-size #:stat-atime #:stat-mtime #:stat-ctime #:termios-iflag #:termios-oflag #:termios-cflag #:termios-lflag #:termios-cc)) -(defpackage :sb-posix-internal (:use #:sb-alien #:cl)) +#+win32 +(load-shared-object "msvcrt.dll")