diff options
-rw-r--r-- | lib/portability.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/portability.h b/lib/portability.h index 05a449ee..5886f63f 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -4,6 +4,10 @@ // in specific compiler, library, or OS versions, localize all that here // and in portability.c +// Always use long file support. +// This must come before we #include any system header file to take effect! +#define _FILE_OFFSET_BITS 64 + // For musl #define _ALL_SOURCE #include <regex.h> @@ -30,9 +34,6 @@ #define printf_format #endif -// Always use long file support. -#define _FILE_OFFSET_BITS 64 - // This isn't in the spec, but it's how we determine what libc we're using. // Types various replacement prototypes need. |