mirror of
https://github.com/curl/curl.git
synced 2026-05-18 05:46:19 +03:00
fix Cygwin/MSYS compilation
_getpid is Windows API. On Cygwin variants it should remain getpid. Fixes #8220 Closes #9255
This commit is contained in:
parent
0af3edfef8
commit
1c52e8a379
1 changed files with 1 additions and 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue