X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fconstants.lisp;h=3e24e0e6d78ad8e10bfecb7519117b3b465ad9b0;hb=599a126c55a6f28e0b5b8a931cb1628c2ee106a7;hp=efecc18d63b5705caac73c7a6eed02f79e6b1712;hpb=6c605fa4b46d3fee9304c4e40e0e605aa5a24f28;p=sbcl.git diff --git a/contrib/sb-posix/constants.lisp b/contrib/sb-posix/constants.lisp index efecc18..3e24e0e 100644 --- a/contrib/sb-posix/constants.lisp +++ b/contrib/sb-posix/constants.lisp @@ -281,7 +281,6 @@ #+nil (:integer fields "int" "pw_fields"))) - #-darwin (:structure alien-stat ("struct stat" (mode-t mode "mode_t" "st_mode") @@ -304,28 +303,6 @@ ("struct timespec" (time-t tv-sec "time_t" "tv_sec") (long tv-nsec "long" "tv_nsec"))) - #+darwin - (:structure alien-stat - ("struct stat" - (mode-t mode "mode_t" "st_mode") - (ino-t ino "ino_t" "st_ino") - ;; Linux/MIPS uses unsigned long instead of dev_t here. - #-mips - (dev-t dev "dev_t" "st_dev") - #+mips - ((unsigned 32) dev "dev_t" "st_dev") - (nlink-t nlink "nlink_t" "st_nlink") - (uid-t uid "uid_t" "st_uid") - (gid-t gid "gid_t" "st_gid") - (off-t size "off_t" "st_size") - - (time-t atime "time_t" "st_atime") - (time-t mtime "time_t" "st_mtime") - (time-t ctime "time_t" "st_ctime") - - #+foo (alien-timespec atime "struct timespec" "st_atime") - #+foo (alien-timespec mtime "struct timespec" "st_mtime") - #+foo (alien-timespec ctime "struct timespec" "st_ctime"))) ;; open() (:integer o-rdonly "O_RDONLY" nil t)