summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibrhash
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-03 13:24:03 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-04 12:15:20 (GMT)
commit4a283fcc311035ed8db8044dcbeb9a75dd452cab (patch)
tree0e8bbd27aa81ffde76c118f0a3fc7714eb6c8b13 /Utilities/cmlibrhash
parent007181a16584c02419d77b7fd258b170ed9ea2fa (diff)
downloadCMake-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.c1
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