diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-08-09 19:12:30 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-08-09 19:12:30 +0000 |
commit | 6de20d7f8a60ca52aa7c0ac5e0651e8dd6b03765 (patch) | |
tree | 1e3bb8b4a05f8420b51daa6afc566fb14dbb6768 /Makefile | |
parent | 9d938fe40af32b1a9860b5d814e963834c327047 (diff) | |
download | ioquake3-aero-6de20d7f8a60ca52aa7c0ac5e0651e8dd6b03765.tar.gz ioquake3-aero-6de20d7f8a60ca52aa7c0ac5e0651e8dd6b03765.zip |
* Use IPv6 header qcommon/wspiapi.h if it has been added by the end user
* Update README to explain the Windows XP requirement
git-svn-id: svn://svn.icculus.org/quake3/trunk@1444 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -423,14 +423,10 @@ ifeq ($(PLATFORM),mingw32) BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ -DUSE_ICON - # Require Windows XP or later - # - # IPv6 support requires a header wspiapi.h to work on earlier versions of - # windows. There is no MinGW equivalent of this header so we're forced to - # require XP. In theory this restriction can be removed if this header is - # obtained separately from the platform SDK. The MSVC build does not have - # this limitation. - BASE_CFLAGS += -DWINVER=0x501 + # In the absence of wspiapi.h, require Windows XP or later + ifeq ($(shell test -e $(CMDIR)/wspiapi.h; echo $$?),1) + BASE_CFLAGS += -DWINVER=0x501 + endif ifeq ($(USE_OPENAL),1) BASE_CFLAGS += -DUSE_OPENAL |