diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 050c004b5..5ee2ba7ff 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -141,7 +141,7 @@ ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
 IPV6 = 1
 endif
 ifeq ($(findstring -winssl,$(CFG)),-winssl)
-SCHANNEL = 1
+WINSSL = 1
 SSPI = 1
 endif
 
@@ -210,7 +210,7 @@ endif
 endif
 ifdef SSPI
   CFLAGS += -DUSE_WINDOWS_SSPI
-  ifdef SCHANNEL
+  ifdef WINSSL
     CFLAGS += -DUSE_SCHANNEL
   endif
 endif
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 5ace17ef1..1c7cbb2a7 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -149,7 +149,7 @@ ifeq ($(findstring -metalink,$(CFG)),-metalink)
 METALINK = 1
 endif
 ifeq ($(findstring -winssl,$(CFG)),-winssl)
-SCHANNEL = 1
+WINSSL = 1
 SSPI = 1
 endif
 
@@ -219,7 +219,7 @@ ifdef METALINK
 endif
 ifdef SSPI
   CFLAGS += -DUSE_WINDOWS_SSPI
-  ifdef SCHANNEL
+  ifdef WINSSL
     CFLAGS += -DUSE_SCHANNEL
   endif
 endif