Skip to content

Commit 0032e7d

Browse files
Alexpuxlazka
authored andcommitted
configure: enable 64-bit time support for 32-bit build
1 parent ad7757f commit 0032e7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,13 @@ if test -z "$CFLAGS"; then
10101010
CFLAGS=
10111011
fi
10121012

1013+
dnl Build 32-bit mingw-w64 platform with 64-bit time support.
1014+
case $host in
1015+
i686-*-mingw*)
1016+
CFLAGS="$CFLAGS -D__MINGW_USE_VC2005_COMPAT"
1017+
;;
1018+
esac
1019+
10131020
dnl Emscripten SDK and WASI SDK default to wasm32.
10141021
dnl On Emscripten use MEMORY64 setting to build target wasm64-emscripten.
10151022
dnl for wasm64.

0 commit comments

Comments
 (0)