Skip to content

Commit 70f172b

Browse files
committed
configure.ac: set _WIN32_WINNT version
1 parent d1d9c27 commit 70f172b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4269,6 +4269,11 @@ AS_VAR_IF([with_dbmliborder], [error], [
42694269
])
42704270
AC_MSG_RESULT($with_dbmliborder)
42714271

4272+
case $host in
4273+
*-*-mingw*)
4274+
CFLAGS_NODIST="$CFLAGS_NODIST -D_WIN32_WINNT=0x0602";;
4275+
esac
4276+
42724277
# Determine if windows modules should be used.
42734278
AC_SUBST(USE_WIN32_MODULE)
42744279
USE_WIN32_MODULE='#'

0 commit comments

Comments
 (0)