Fix getpid warning
include <process,h> and use _getpid
This commit is contained in:
parent
546af97345
commit
604c28f8c1
@ -18,6 +18,11 @@
|
||||
#if HAVE_MATH_H
|
||||
#include <math.h>
|
||||
#endif
|
||||
#if __WINDOWS__
|
||||
#include <process.h>
|
||||
|
||||
#define getpid _getpid
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
|
Reference in New Issue
Block a user