aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2020-03-07 03:21:33 -0500
committerJay Satiro <raysatiro@yahoo.com>2020-03-21 17:42:44 -0400
commitd820224b8b3621c312bd85e0951f470eab6df66a (patch)
treec96ae75ec3754a71c5a277c9fef85b5baaacdc1e /lib/smtp.c
parentf25f602ffd026cc6b5bb0b3a6d8f1abe1bad7881 (diff)
curl_setup: define _WIN32_WINNT_[OS] symbols
.. because not all Windows build systems have those symbols, and even those that do may be missing newer symbols (eg the Windows 7 SDK does not define _WIN32_WINNT_WIN10). Those symbols are used in build-time logic to decide which API to use and prior to this change if the symbols were missing it would have resulted in deprecated API being used when more recent functions were available (eg GetVersionEx used instead of VerifyVersionInfo). Reported-by: FuccDucc@users.noreply.github.com Probably fixes https://github.com/curl/curl/issues/4995 Closes https://github.com/curl/curl/pull/5057
Diffstat (limited to 'lib/smtp.c')
0 files changed, 0 insertions, 0 deletions