summaryrefslogtreecommitdiff
path: root/windows/Makefile.target
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-03-16 22:19:44 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-03-16 22:19:44 +0000
commitb96104fe8f351c5b0add8e208e86e130c161bde8 (patch)
treea3d30290d8965393563ed44908185e96064688ca /windows/Makefile.target
parent7f41b913c9b6c7249a5fccf8137f4a06697db0ac (diff)
downloadnetsurf-b96104fe8f351c5b0add8e208e86e130c161bde8.tar.gz
netsurf-b96104fe8f351c5b0add8e208e86e130c161bde8.tar.bz2
Ensure all four required version defines are set for windows builds
svn path=/trunk/netsurf/; revision=12082
Diffstat (limited to 'windows/Makefile.target')
-rw-r--r--windows/Makefile.target7
1 files changed, 5 insertions, 2 deletions
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