Closed EmilRosenquist closed 2 years ago
This line:
#elif __x86_64__ || __ppc64__ || _FILE_OFFSET_BITS == 64
I think is better re-written like this:
#elif defined(__x86_64__) || defined(__ppc64__) || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64)
(It's true that undefined evaluates to false but some compilers warn about this implicit conversion).
Also, should we include some header to get the _FILE_OFFSET_BITS
macro?
@boris-kolpackov Updated to using defined(), Not sure what header we would include for the _FILE_OFFSET_BITS
. From my understanding this is set by the user to support large files.https://digital-domain.net/largefiles.html
Add SIZEOF_OFF_T.H
1
Posix
Always
4
on windows