From f937cb37f89e043a18bc9afe41fba285d87de3f2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 11 Oct 2022 15:37:55 +0000 Subject: [PATCH] smb: replace CURL_WIN32 with WIN32 PR #9244 aimed to fix a Cygwin/MSYS issue. It used the `CURL_WIN32` macro, but that one is never defined while compiling curl itself. This patch changes this to `WIN32`, assuming this was the original intent. Regression from 1c52e8a3795ccdf8ec9c308f4f8f19cf10ea1f1a. Ref: #8220 Ref: #9255 Closes #xxxx --- lib/smb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smb.c b/lib/smb.c index 10785f587531c8..a62e858143bce0 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