]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add __TIMESIZE=64
authorMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 20:38:17 +0000 (16:38 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 20:38:17 +0000 (16:38 -0400)
config-scripts/cups-compiler.m4
configure

index 33d444e74362c478346e080d1415a42620213fb5..bcb3db3cd31bcf6f25ce5f7af43bedd1adcc4c1d 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...
-    OPTIM="$OPTIM -D_GNU_SOURCE"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIMESIZE=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.
index 7dee4f14a436a35165ef0136c9019c5b25d13ce8..fd34c7d8702aa72b1bcc395d349a604d1cedb55a 100755 (executable)
--- a/configure
+++ b/configure
@@ -6273,13 +6273,13 @@ fi
 ac_fn_c_check_func "$LINENO" "cupsConcatString" "ac_cv_func_cupsConcatString"
 if test "x$ac_cv_func_cupsConcatString" = xyes
 then :
-  printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
+  printf "%s\n" "#define HAVE_CUPSCONCATSTRING 1" >>confdefs.h
 
 fi
 ac_fn_c_check_func "$LINENO" "cupsCopyString" "ac_cv_func_cupsCopyString"
 if test "x$ac_cv_func_cupsCopyString" = xyes
 then :
-  printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
+  printf "%s\n" "#define HAVE_CUPSCOPYSTRING 1" >>confdefs.h
 
 fi
 
@@ -8303,7 +8303,7 @@ case $host_os_name in #(
 
     # glibc 2.8 and higher breaks peer credentials unless you
     # define _GNU_SOURCE...
-    OPTIM="$OPTIM -D_GNU_SOURCE"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIMESIZE=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.