summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--misc/GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/GNUmakefile b/misc/GNUmakefile
index fc75de502..241cd4af5 100644
--- a/misc/GNUmakefile
+++ b/misc/GNUmakefile
@@ -82,7 +82,8 @@ win32:
--with-mail \
--with-stream \
--with-openssl=$(OBJS)/lib/$(OPENSSL) \
- --with-openssl-opt="no-asm no-tests" \
+ --with-openssl-opt="no-asm no-tests \
+ CFLAGS=-D_WIN32_WINNT=0x0501" \
--with-http_ssl_module \
--with-mail_ssl_module \
--with-stream_ssl_module