diff options
author | Brad King <brad.king@kitware.com> | 2022-06-03 13:24:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-04 12:15:20 (GMT) |
commit | 4a283fcc311035ed8db8044dcbeb9a75dd452cab (patch) | |
tree | 0e8bbd27aa81ffde76c118f0a3fc7714eb6c8b13 /Utilities/cmlibrhash | |
parent | 007181a16584c02419d77b7fd258b170ed9ea2fa (diff) | |
download | CMake-4a283fcc311035ed8db8044dcbeb9a75dd452cab.zip CMake-4a283fcc311035ed8db8044dcbeb9a75dd452cab.tar.gz CMake-4a283fcc311035ed8db8044dcbeb9a75dd452cab.tar.bz2 |
librhash: Explicitly enable large file support on 32-bit targets
`_LARGEFILE_SOURCE` is needed at least on SunOS i386 if compiler
extensions are not enabled.
Diffstat (limited to 'Utilities/cmlibrhash')
-rw-r--r-- | Utilities/cmlibrhash/librhash/rhash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibrhash/librhash/rhash.c b/Utilities/cmlibrhash/librhash/rhash.c index ce6ace4..2530112 100644 --- a/Utilities/cmlibrhash/librhash/rhash.c +++ b/Utilities/cmlibrhash/librhash/rhash.c @@ -20,6 +20,7 @@ #endif /* macros for large file support, must be defined before any include file */ +#define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 |