Fix getpid warning

include <process,h> and use _getpid
This commit is contained in:
vscosta 2014-10-30 07:39:10 +00:00
parent 546af97345
commit 604c28f8c1

View File

@ -18,6 +18,11 @@
#if HAVE_MATH_H #if HAVE_MATH_H
#include <math.h> #include <math.h>
#endif #endif
#if __WINDOWS__
#include <process.h>
#define getpid _getpid
#endif
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>