diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index 17085cdc1..76145917d 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -50,6 +50,9 @@ endif ifdef SSPI CFLAGS += -DUSE_WINDOWS_SSPI endif +ifdef IPV6 + CFLAGS += -DENABLE_IPV6 +endif COMPILE = $(CC) $(INCLUDES) $(CFLAGS) # Makefile.inc provides the CSOURCES and HHEADERS defines diff --git a/src/Makefile.m32 b/src/Makefile.m32 index 7bae32941..49f070ad6 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -58,6 +58,9 @@ endif ifdef SSPI CFLAGS += -DUSE_WINDOWS_SSPI endif +ifdef IPV6 + CFLAGS += -DENABLE_IPV6 +endif curl_LDADD += -lwsock32 -lws2_32 -lwinmm -L$(ZLIB_PATH) -lz # Makefile.inc provides the CSOURCES and HHEADERS defines