]> granicus.if.org Git - curl/commit
winbuild: conditionally use /DZLIB_WINAPI
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 11 Jan 2019 12:06:37 +0000 (13:06 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 14 Jan 2019 09:14:06 +0000 (10:14 +0100)
commit07367e717a1e8205240ad795b3b51c78b9f9d98d
treeaaefa73109457857c4fdb686cfdd44a60c614d6a
parentd8852d0868c06cc29c208e743e5b1991ab2dba2b
winbuild: conditionally use /DZLIB_WINAPI

zlibwapi.lib (dynamic library) and zlibstat.lib (static library) have
the ZLIB_WINAPI define set by default. Using them requires that define
too.

Ref: https://zlib.net/DLL_FAQ.txt

Fixes https://github.com/curl/curl/issues/3133
Closes https://github.com/curl/curl/pull/3460
winbuild/MakefileBuild.vc