From 7239538d9acf5b6743181514814dc750b73096a8 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 30 Jun 2010 19:40:40 +0200 Subject: build: add enable IPV6 option for the VC makefiles --- lib/Makefile.vc6 | 4 ++++ lib/config-win32.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1