X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Funix.lisp;h=e6dfddf5912df2a1891bedee2712b3f1a10a3138;hb=5369caf4d418065012b96af0d29c74d7851c04ff;hp=f411a38ce43a310a8928e4c6df967079d1c88489;hpb=7f2967a8ed925bd5dab32811c1a66cba7175d669;p=sbcl.git diff --git a/src/code/unix.lisp b/src/code/unix.lisp index f411a38..e6dfddf 100644 --- a/src/code/unix.lisp +++ b/src/code/unix.lisp @@ -573,14 +573,23 @@ SYSCALL-FORM. Repeat evaluation of SYSCALL-FORM if it is interrupted." ;;; longer than 32 bits anyway, right?":-| (define-alien-type nil (struct wrapped_stat + #!-mips (st-dev unsigned-int) ; would be dev-t in a real stat + #!+mips + (st-dev unsigned-long) ; this is _not_ a dev-t on mips (st-ino ino-t) (st-mode mode-t) - (st-nlink nlink-t) - (st-uid uid-t) - (st-gid gid-t) + (st-nlink nlink-t) + (st-uid uid-t) + (st-gid gid-t) + #!-mips (st-rdev unsigned-int) ; would be dev-t in a real stat + #!+mips + (st-rdev unsigned-long) ; this is _not_ a dev-t on mips + #!-mips (st-size unsigned-int) ; would be off-t in a real stat + #!+mips + (st-size off-t) (st-blksize unsigned-long) (st-blocks unsigned-long) (st-atime time-t)