aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-05 16:01:58 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-05 16:01:58 +0000
commit55634342dda65d9f885024e88573bb7db8b26799 (patch)
tree966bd28496795e9013ca73fcc50ec1a3224c8c77 /Makefile
parentbed97d1806cd0e06a3e3acf1893a0d5e3d9b1744 (diff)
downloadioquake3-aero-55634342dda65d9f885024e88573bb7db8b26799.tar.gz
ioquake3-aero-55634342dda65d9f885024e88573bb7db8b26799.zip
* Fix to MinGW build following IPv6 changes
git-svn-id: svn://svn.icculus.org/quake3/trunk@1294 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a76117..40b68d2 100644
--- a/Makefile
+++ b/Makefile
@@ -381,6 +381,9 @@ endif
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON
+ # Require Windows XP or later
+ BASE_CFLAGS += -DWINVER=0x501
+
ifeq ($(USE_LOCAL_HEADERS),1)
BASE_CFLAGS += -I$(SDLHDIR)/include
endif
@@ -412,7 +415,7 @@ endif
BINEXT=.exe
- LDFLAGS= -lwsock32 -lwinmm
+ LDFLAGS= -lws2_32 -lwinmm
CLIENT_LDFLAGS = -mwindows -lgdi32 -lole32 -lopengl32
ifeq ($(USE_CURL),1)