summary refs log tree commit diff stats
path: root/src/makeinc.skel
diff options
context:
space:
mode:
Diffstat (limited to 'src/makeinc.skel')
-rw-r--r--src/makeinc.skel14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/makeinc.skel b/src/makeinc.skel
index 753d88b3..6a679141 100644
--- a/src/makeinc.skel
+++ b/src/makeinc.skel
@@ -1,12 +1,9 @@
-#X64 = YES
-IPV6 = YES
-
 CC = cl
 LINK = link
-CFLAGS = $(CFLAGS) /Ox /c /MD /nologo /DWIN32 /DG_DISABLE_CAST_CHECKS /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp /Dstrtoull=_strtoui64 /DHAVE_STRTOULL
+CFLAGS = $(CFLAGS) /Ox /c /MD /nologo /DWIN32 /DG_DISABLE_CAST_CHECKS /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp /Dstrtoull=_strtoui64 /DHAVE_STRTOULL -DUSE_IPV6
 CPPFLAGS = /c /MD /nologo /DWIN32
 LDFLAGS = /subsystem:windows /nologo
-LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib
+LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib ws2_32.lib
 
 !ifdef X64
 #############################################################
@@ -64,13 +61,6 @@ PYTHONOUTPUT = xcpython.dll
 TCLLIB = tcl85
 TCLOUTPUT = xctcl.dll
 
-!ifdef IPV6
-CFLAGS = $(CFLAGS) -DUSE_IPV6
-LIBS = $(LIBS) ws2_32.lib
-!else
-LIBS = $(LIBS) wsock32.lib
-!endif
-
 COMMON_OBJECTS = \
 cfgfiles.obj \
 chanopt.obj \