diff options
author | Pierre Joye <pierre.php@gmail.com> | 2010-06-30 19:40:40 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-06-30 19:42:37 +0200 |
commit | 7239538d9acf5b6743181514814dc750b73096a8 (patch) | |
tree | 55a442b13f3a3ab7105227cd66634a8ad53282f8 /lib | |
parent | 18a9ee6bdfc68d9918958c6bcd03875d320f4008 (diff) |
build: add enable IPV6 option for the VC makefiles
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.vc6 | 4 | ||||
-rw-r--r-- | lib/config-win32.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6 index 0abdd7607..ed1e241b2 100644 --- a/lib/Makefile.vc6 +++ b/lib/Makefile.vc6 @@ -109,6 +109,10 @@ CFGSET = FALSE CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
!ENDIF
+!IFDEF USE_IPV6
+CFLAGS = $(CFLAGS) /DUSE_IPV6
+!ENDIF
+
##############################################################
# Runtime library configuration
diff --git a/lib/config-win32.h b/lib/config-win32.h index 0c254707a..8c6f91a9f 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -569,7 +569,7 @@ /* Name of package */ #define PACKAGE "curl" -#if defined(__POCC__) +#if defined(__POCC__) || (USE_IPV6) # define ENABLE_IPV6 1 #endif |