mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 18:57:38 +00:00
configure: Enable 64-bit time_t on Linux.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
abfa6bf860
commit
2211ca9fa5
3
configure
vendored
3
configure
vendored
|
@ -10579,6 +10579,9 @@ fi
|
||||||
|
|
||||||
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
|
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
|
||||||
|
|
||||||
|
|
||||||
|
printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
*i[3456789]86*)
|
*i[3456789]86*)
|
||||||
DLLFLAGS="$DLLFLAGS -fno-PIC"
|
DLLFLAGS="$DLLFLAGS -fno-PIC"
|
||||||
|
|
|
@ -812,6 +812,7 @@ case $host_os in
|
||||||
|
|
||||||
*)
|
*)
|
||||||
AC_DEFINE(_GNU_SOURCE,1,[Define to 1 to enable GNU extensions on Linux])
|
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
|
case $host_cpu in
|
||||||
*i[[3456789]]86*)
|
*i[[3456789]]86*)
|
||||||
DLLFLAGS="$DLLFLAGS -fno-PIC"
|
DLLFLAGS="$DLLFLAGS -fno-PIC"
|
||||||
|
|
|
@ -903,6 +903,9 @@
|
||||||
/* Define for large files, on AIX-style hosts. */
|
/* Define for large files, on AIX-style hosts. */
|
||||||
#undef _LARGE_FILES
|
#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
|
/* 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. */
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
Loading…
Reference in a new issue