projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.9.45: cleaner & thread-safe pv-table interning
[sbcl.git]
/
src
/
runtime
/
wrap.c
diff --git
a/src/runtime/wrap.c
b/src/runtime/wrap.c
index
93c6bcf
..
376beaf
100644
(file)
--- a/
src/runtime/wrap.c
+++ b/
src/runtime/wrap.c
@@
-167,7
+167,7
@@
wrapped_readlink(char *path)
*
* Some motivated spark fixed MIPS. -- ths, 2005-10-06 */
*
* Some motivated spark fixed MIPS. -- ths, 2005-10-06 */
-#if defined (LISP_FEATURE_LARGEFILE)
+#if defined(LISP_FEATURE_LARGEFILE) && !defined(LISP_FEATURE_MIPS)
typedef dev_t ffi_dev_t;
typedef off_t ffi_off_t;
#elif defined(LISP_FEATURE_MIPS)
typedef dev_t ffi_dev_t;
typedef off_t ffi_off_t;
#elif defined(LISP_FEATURE_MIPS)
@@
-181,7
+181,7
@@
typedef u32 ffi_dev_t; /* since Linux dev_t can be 64 bits */
typedef u32 ffi_off_t; /* since OpenBSD 2.8 st_size is 64 bits */
#endif
typedef u32 ffi_off_t; /* since OpenBSD 2.8 st_size is 64 bits */
#endif
-#if defined(LISP_FEATURE_DARWIN)
+#ifdef LISP_FEATURE_OS_PROVIDES_BLKSIZE_T
typedef blksize_t ffi_blksize_t;
#else
typedef unsigned long ffi_blksize_t;
typedef blksize_t ffi_blksize_t;
#else
typedef unsigned long ffi_blksize_t;