]> granicus.if.org Git - curl/commitdiff
VC build: add define for openssl
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2012 11:57:13 +0000 (13:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Aug 2012 11:57:13 +0000 (13:57 +0200)
This fixes a build failure of lib/ssluse.c.

Bug: http://curl.haxx.se/bug/view.cgi?id=3552997

lib/Makefile.vc6

index 597e593938a7f9584c98a6d75145e3b0f784cf50..a863a0b3ec4d05579e61161a82a47d6d72c8f1c3 100644 (file)
@@ -105,7 +105,7 @@ WINDOWS_SDK_PATH = "$(PROGRAMFILES)\Microsoft SDK"
 \r
 CCNODBG    = cl.exe /O2 /DNDEBUG\r
 CCDEBUG    = cl.exe /Od /Gm /Zi /D_DEBUG /GZ\r
-CFLAGSSSL  = /DUSE_SSLEAY /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"\r
+CFLAGSSSL  = /DUSE_SSLEAY /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"\r
 CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include"\r
 CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)"\r
 CFLAGS     = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1\r