Skip to content

Commit 0145943

Browse files
committed
Add flag for 64-bit time in configure script
1 parent fd2075e commit 0145943

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/mingw.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ jobs:
6767
export CC=clang
6868
export CXX=clang++
6969
fi
70-
71-
if [[ "${{ matrix.msystem }}" == MINGW32 ]]; then
72-
CFLAGS+=" -D__MINGW_USE_VC2005_COMPAT"
73-
fi
74-
70+
7571
autoreconf -vfi
7672
7773
rm -Rf _build && mkdir _build && cd _build

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@ yes)
26462646
# this only occues on mingw
26472647
case $host in
26482648
*-*-mingw*)
2649-
CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types"
2649+
CFLAGS_NODIST="$CFLAGS_NODIST -Wno-error=incompatible-pointer-types -D__MINGW_USE_VC2005_COMPAT"
26502650
;;
26512651
esac
26522652

0 commit comments

Comments
 (0)