aboutsummaryrefslogtreecommitdiff
path: root/winbuild/MakefileBuild.vc
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/MakefileBuild.vc')
-rw-r--r--winbuild/MakefileBuild.vc5
1 files changed, 4 insertions, 1 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 83f92374e..eb28efefd 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -60,7 +60,7 @@ CFLAGS = /I. /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUIL
!ELSE
CC_NODEBUG = $(CC) /O2 /DNDEBUG
CC_DEBUG = $(CC) /Od /D_DEBUG /RTC1 /Z7 /LDd /W3
-CFLAGS = /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
+CFLAGS = /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /DWIN32_LEAN_AND_MEAN
!ENDIF
LFLAGS = /nologo /machine:$(MACHINE)
@@ -133,6 +133,9 @@ SSL = static
!IFDEF USE_SSL
SSL_CFLAGS = /DUSE_OPENSSL /I"$(DEVEL_INCLUDE)/openssl"
+!IF EXISTS("$(DEVEL_INCLUDE)\openssl\is_boringssl.h")
+SSL_CFLAGS = $(SSL_CFLAGS) /DHAVE_BORINGSSL
+!ENDIF
!ENDIF
!IF "$(WITH_NGHTTP2)"=="dll"