diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2022-08-05 13:45:25 +0300 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2022-09-10 16:34:13 +0200 |
commit | 1c52e8a3795ccdf8ec9c308f4f8f19cf10ea1f1a (patch) | |
tree | 6ffbcd337c4b1b78233d96152fe56223848b0d99 /lib/smb.c | |
parent | 0af3edfef8d17e18e771a71b3d07714b486bcd20 (diff) | |
download | curl-1c52e8a3795ccdf8ec9c308f4f8f19cf10ea1f1a.tar.gz |
fix Cygwin/MSYS compilation
_getpid is Windows API. On Cygwin variants it should remain getpid.
Fixes #8220
Closes #9255
Diffstat (limited to 'lib/smb.c')
-rw-r--r-- | lib/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ #include <process.h> #ifdef CURL_WINDOWS_APP #define getpid GetCurrentProcessId -#elif !defined(MSDOS) +#elif defined(CURL_WIN32) #define getpid _getpid #endif #endif |