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