]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
_TIME_BITS and _FILE_OFFSET_BITS (not two __)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 21:14:30 +0000 (17:14 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 21:14:30 +0000 (17:14 -0400)
config-scripts/cups-compiler.m4
configure

index 335862e8c894942a771a8939fc43b47022b91d57..09ef4bd1b1375e925e601d3eb8ea7770c227f146 100644 (file)
@@ -228,7 +228,7 @@ AS_IF([test -n "$GCC"], [
 AS_CASE([$host_os_name], [linux*], [
     # glibc 2.8 and higher breaks peer credentials unless you
     # define _GNU_SOURCE...  32-bit Linux needs 64-bit time/file offsets...
-    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_OFFSET_BITS=64"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.
index 258ae5849f67d83ee824e67f0022bb3471b4af4a..58794a2a0bc69f9feb1fa625f0d019f413002fb2 100755 (executable)
--- a/configure
+++ b/configure
@@ -8303,7 +8303,7 @@ case $host_os_name in #(
 
     # glibc 2.8 and higher breaks peer credentials unless you
     # define _GNU_SOURCE...  32-bit Linux needs 64-bit time/file offsets...
-    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_OFFSET_BITS=64"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.