123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #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
|