X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fwrap.c;h=f0e5746363a14dd17d473b393acea2fd1280477f;hb=64db34d6fce16b93652fe8185ec6eeffac908fc8;hp=0b715c737bceb896f302109cc028e2f107f8d845;hpb=3eb0a28fe6a7912d6ff2b97221325c0e3bfc5703;p=sbcl.git diff --git a/src/runtime/wrap.c b/src/runtime/wrap.c index 0b715c7..f0e5746 100644 --- a/src/runtime/wrap.c +++ b/src/runtime/wrap.c @@ -167,7 +167,10 @@ wrapped_readlink(char *path) * * Some motivated spark fixed MIPS. -- ths, 2005-10-06 */ -#ifdef LISP_FEATURE_MIPS +#if defined (LISP_FEATURE_LARGEFILE) +typedef dev_t ffi_dev_t; +typedef off_t ffi_off_t; +#elif defined(LISP_FEATURE_MIPS) typedef unsigned long ffi_dev_t; /* Linux/MIPS struct stat doesn't use dev_t */ typedef off_t ffi_off_t; #else