]> git.ipfire.org Git - thirdparty/curl.git/commit
curl.h: define CURL_WIN32 on windows
authorDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jan 2020 10:37:33 +0000 (11:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jan 2020 12:02:28 +0000 (13:02 +0100)
commit8bd863f97b6c79f561bc063e634cecdf4badf776
treeb902983d726fd5e5172edd01bfe7acad63f67fea
parent33707251921031bb87e3ad60e61ce3b025a66793
curl.h: define CURL_WIN32 on windows

... so that the subsequent logic below can use a single known define to know
when built on Windows (as we don't define WIN32 anymore).

Follow-up to 1adebe7886ddf20b

Reported-by: crazydef on github
Assisted-by: Marcel Raad
Fixes #4854
Closes #4855
docs/libcurl/symbols-in-versions
include/curl/curl.h