summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-29 06:24:07 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2003-03-29 06:24:07 (GMT)
commitb48540f80dd6b1f191e99be754469f3f9243c0b5 (patch)
tree5f8d997e346287d2b26223f06afc05505f5bac9b
parent0a748cf59bcda4c8d8cc1bd62067abc7e86ce4a5 (diff)
downloadgrv-b48540f80dd6b1f191e99be754469f3f9243c0b5.zip
grv-b48540f80dd6b1f191e99be754469f3f9243c0b5.tar.gz
grv-b48540f80dd6b1f191e99be754469f3f9243c0b5.tar.bz2
grv-b48540f80dd6b1f191e99be754469f3f9243c0b5.tar.xz
Go back to using plain winsock; no need for the winsock2 extra features,grv-2003
and other window apps seem to be happily using winsock.h
-rw-r--r--Makefile.w322
-rw-r--r--netopen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.w32 b/Makefile.w32
index b843b62..b3f23de 100644
--- a/Makefile.w32
+++ b/Makefile.w32
@@ -22,7 +22,7 @@ CFLAGS = $(OPTFLAGS) $(INCLUDE)
LDFLAGS = -mwindows -L$(SDL)/lib
# We need an extra helping of -lmingw32 before -lSDLmain to make sure
# WinMain is pulled in correctly
-LIBS = -lmingw32 -lSDLmain -lSDL -lws2_32
+LIBS = -lmingw32 -lSDLmain -lSDL -lwsock32
X = .exe
ALL = grv$(X)
diff --git a/netopen.c b/netopen.c
index 9b6a2a4..e664363 100644
--- a/netopen.c
+++ b/netopen.c
@@ -13,7 +13,7 @@
#include <string.h>
#include <io.h>
#include <fcntl.h>
-#include <winsock2.h>
+#include <winsock.h>
/* This is basically a lame subset of stdio functionality */
#define NETCON_BUF 32768