12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #ifndef _UNISTD_H
- # error "Never include this file directly. Use <unistd.h> instead"
- #endif
- #include <bits/wordsize.h>
- #if __WORDSIZE == 64
- # define _POSIX_V7_ILP32_OFF32 -1
- # define _POSIX_V7_ILP32_OFFBIG -1
- # define _POSIX_V6_ILP32_OFF32 -1
- # define _POSIX_V6_ILP32_OFFBIG -1
- # define _XBS5_ILP32_OFF32 -1
- # define _XBS5_ILP32_OFFBIG -1
- # define _POSIX_V7_LPBIG_OFFBIG -1
- # define _POSIX_V6_LPBIG_OFFBIG -1
- # define _XBS5_LPBIG_OFFBIG -1
- # define _POSIX_V7_LP64_OFF64 1
- # define _POSIX_V6_LP64_OFF64 1
- # define _XBS5_LP64_OFF64 1
- #else
- # define _POSIX_V7_ILP32_OFF32 1
- # define _POSIX_V7_ILP32_OFFBIG 1
- # define _POSIX_V6_ILP32_OFF32 1
- # define _POSIX_V6_ILP32_OFFBIG 1
- # define _XBS5_ILP32_OFF32 1
- # define _XBS5_ILP32_OFFBIG 1
- # define _POSIX_V7_LP64_OFF64 -1
- # define _POSIX_V7_LPBIG_OFFBIG -1
- # define _POSIX_V6_LP64_OFF64 -1
- # define _POSIX_V6_LPBIG_OFFBIG -1
- # define _XBS5_LP64_OFF64 -1
- # define _XBS5_LPBIG_OFFBIG -1
- #define __ILP32_OFFBIG_CFLAGS "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- #endif
|