configure: Enable 64-bit time_t on Linux.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-02-02 13:23:21 +01:00
parent abfa6bf860
commit 2211ca9fa5
3 changed files with 7 additions and 0 deletions

3
configure vendored
View File

@ -10579,6 +10579,9 @@ fi
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
case $host_cpu in
*i[3456789]86*)
DLLFLAGS="$DLLFLAGS -fno-PIC"

View File

@ -812,6 +812,7 @@ case $host_os in
*)
AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
AC_DEFINE(_TIME_BITS,64,[Define to 64 to enable 64-bit time_t on Linux])
case $host_cpu in
*i[[3456789]]86*)
DLLFLAGS="$DLLFLAGS -fno-PIC"

View File

@ -903,6 +903,9 @@
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to 64 to enable 64-bit time_t on Linux */
#undef _TIME_BITS
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus