getpid() fix for Win32

This commit is contained in:
rustyx
2016-01-30 14:51:16 +01:00
committed by Jason Evans
parent 90c7269c05
commit 7f283980f0
2 changed files with 4 additions and 0 deletions

View File

@@ -23,4 +23,6 @@
# define ERANGE ERROR_INVALID_DATA
#endif
#define getpid() GetCurrentProcessId()
#endif /* MSVC_COMPAT_WINDOWS_EXTRA_H */