]> git.kaiwu.me - nginx.git/commit
Win32: preserving binary compatibility with Windows XP - Vista.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 4 Apr 2019 13:26:56 +0000 (16:26 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 4 Apr 2019 13:26:56 +0000 (16:26 +0300)
commitce912de835153ce465b4a192e291ef0b96806baa
tree40ee1517a846c557a1a4347f0905e8dddcc8e15a
parent7c7d32772d3e83868955ce7fab197ab52ff90bcd
Win32: preserving binary compatibility with Windows XP - Vista.

OpenSSL 1.1.0 and above uses BCrypt if available (Windows 7 or higher).
This results in an unusable binary on older Windows versions, when building
with newer Windows SDK (such as 7.0A).  Using CFLAGS to define _WIN32_WINNT
allows to set a desired ABI and make sure the binary works with Windows XP.

To not mix with other potential CFLAGS uses, it is set in GNUmakefile.
misc/GNUmakefile