Skip to content

Commit

Permalink
configure.ac: set _WIN32_WINNT version
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jul 19, 2023
1 parent c05834e commit 0f91d7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4265,6 +4265,11 @@ AS_VAR_IF([with_dbmliborder], [error], [
])
AC_MSG_RESULT($with_dbmliborder)

case $host in
*-*-mingw*)
CFLAGS_NODIST="$CFLAGS_NODIST -D_WIN32_WINNT=0x0602";;
esac

# Determine if windows modules should be used.
AC_SUBST(USE_WIN32_MODULE)
USE_WIN32_MODULE='#'
Expand Down

0 comments on commit 0f91d7c

Please sign in to comment.