From b96104fe8f351c5b0add8e208e86e130c161bde8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 16 Mar 2011 22:19:44 +0000 Subject: Ensure all four required version defines are set for windows builds svn path=/trunk/netsurf/; revision=12082 --- windows/Makefile.target | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'windows/Makefile.target') diff --git a/windows/Makefile.target b/windows/Makefile.target index 9fbc53d65..d81e7d7ea 100644 --- a/windows/Makefile.target +++ b/windows/Makefile.target @@ -28,8 +28,11 @@ -lgdi32 -lcomctl32 -lws2_32 -lmsimg32 -mwindows CFLAGS += -U__STRICT_ANSI__ -mwin32 - # only windows versions after 2000 are supported - CFLAGS += '-DWINVER=0x0500' + # only windows versions after XP are supported + CFLAGS += '-DWINVER=0x0501' + CFLAGS += '-D_WIN32_WINNT=0x0501' + CFLAGS += '-D_WIN32_WINDOWS=0x0501' + CFLAGS += '-D_WIN32_IE=0x0501' WSCFLAGS := -std=c99 \ $(WARNFLAGS) -I. -I${MINGW_INSTALL_ENV}/include/ \ -DCURL_STATICLIB -DLIBXML_STATIC -g -- cgit v1.2.3