Skip to content

Commit

Permalink
smb: replace CURL_WIN32 with WIN32
Browse files Browse the repository at this point in the history
PR curl#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 1c52e8a.

Ref: curl#8220
Ref: curl#9255

Closes #xxxx
  • Loading branch information
vszakats committed Oct 11, 2022
1 parent 66e68ca commit f937cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smb.c
Expand Up @@ -34,7 +34,7 @@
#include <process.h>
#ifdef CURL_WINDOWS_APP
#define getpid GetCurrentProcessId
#elif defined(CURL_WIN32)
#elif defined(WIN32)
#define getpid _getpid
#endif
#endif
Expand Down

0 comments on commit f937cb3

Please sign in to comment.