Skip to content

Commit 0f91d7c

Browse files
committed
configure.ac: set _WIN32_WINNT version
1 parent c05834e commit 0f91d7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

+5
Original file line numberDiff line numberDiff line change
@@ -4265,6 +4265,11 @@ AS_VAR_IF([with_dbmliborder], [error], [
42654265
])
42664266
AC_MSG_RESULT($with_dbmliborder)
42674267

4268+
case $host in
4269+
*-*-mingw*)
4270+
CFLAGS_NODIST="$CFLAGS_NODIST -D_WIN32_WINNT=0x0602";;
4271+
esac
4272+
42684273
# Determine if windows modules should be used.
42694274
AC_SUBST(USE_WIN32_MODULE)
42704275
USE_WIN32_MODULE='#'

0 commit comments

Comments
 (0)