build: add enable IPV6 option for the VC makefiles
authorPierre Joye <pierre.php@gmail.com>
Wed, 30 Jun 2010 17:40:40 +0000 (19:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jun 2010 17:42:37 +0000 (19:42 +0200)
lib/Makefile.vc6
lib/config-win32.h

index 0abdd76..ed1e241 100644 (file)
@@ -109,6 +109,10 @@ CFGSET     = FALSE
 CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include\r
 !ENDIF\r
 \r
+!IFDEF USE_IPV6\r
+CFLAGS = $(CFLAGS) /DUSE_IPV6\r
+!ENDIF\r
+\r
 ##############################################################\r
 # Runtime library configuration\r
 \r
index 0c25470..8c6f91a 100644 (file)
 /* Name of package */
 #define PACKAGE "curl"
 
-#if defined(__POCC__)
+#if defined(__POCC__) || (USE_IPV6)
 #  define ENABLE_IPV6 1
 #endif