]> git.ipfire.org Git - thirdparty/curl.git/commit
winbuild: fix boringssl build
authorHenrik S. Gaßmann <henrik@gassmann.onl>
Sat, 24 Jun 2017 09:55:21 +0000 (11:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 24 Jun 2017 20:13:21 +0000 (22:13 +0200)
commitcd34ffa614b04ed6ab6533fa3b8661f0ef9abfa9
treea41dc57f4bf228cbc69b12f164ce98b7ccb2d860
parentcfe3c08f696ec2128df798882cea541b33b29632
winbuild: fix boringssl build

Compile with `WIN32_LEAN_AND_MEAN` which prevents `windows.h` from
including too much clutter including `wincrypt.h` which in turn contains
some preprocessor macros that clash with boringssl symbols.

Detect boringssl by checking the existance of `is_boringssl.h` and set
the corresponding `HAVE_BORINGSSL` for compilation which is used in
`ldap.c` to undefine the evil macros.

Closes #1610
winbuild/MakefileBuild.vc