configure: Only define _TIME_BITS together with _FILE_OFFSET_BITS.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-02-03 10:23:22 +01:00
parent ed5126de11
commit 8db1662d74
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -10579,7 +10579,7 @@ fi
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
test "$ac_cv_sys_file_offset_bits" = 64 &&
printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
case $host_cpu in

View File

@ -812,7 +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])
test "$ac_cv_sys_file_offset_bits" = 64 && 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"