From: Viktor Szakats Date: Tue, 11 Oct 2022 21:05:44 +0000 (+0000) Subject: smb: replace CURL_WIN32 with WIN32 X-Git-Tag: curl-7_86_0~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28edcbe195cab11962a0c7c09c01323b24970d2e;p=thirdparty%2Fcurl.git smb: replace CURL_WIN32 with WIN32 PR #9255 aimed to fix a Cygwin/MSYS issue (#8220). It used the `CURL_WIN32` macro, but that one is not defined here, while compiling curl itself. This patch changes this to `WIN32`, assuming this was the original intent. Regression from 1c52e8a3795ccdf8ec9c308f4f8f19cf10ea1f1a Reviewed-by: Marcel Raad Closes #9701 --- diff --git a/lib/smb.c b/lib/smb.c index 10785f5875..a62e858143 100644 --- a/lib/smb.c +++ b/lib/smb.c @@ -34,7 +34,7 @@ #include #ifdef CURL_WINDOWS_APP #define getpid GetCurrentProcessId -#elif defined(CURL_WIN32) +#elif defined(WIN32) #define getpid _getpid #endif #endif