summaryrefslogtreecommitdiff
path: root/numpy/random/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/src')
-rw-r--r--numpy/random/src/pcg64/pcg64.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/random/src/pcg64/pcg64.h b/numpy/random/src/pcg64/pcg64.h
index 96ee7af85..b33a39fc6 100644
--- a/numpy/random/src/pcg64/pcg64.h
+++ b/numpy/random/src/pcg64/pcg64.h
@@ -52,8 +52,11 @@
#include <inttypes.h>
-#if defined(_WIN32) && !defined (__MINGW32__)
+#ifdef _WIN32
#include <stdlib.h>
+#endif
+
+#if defined(_WIN32) && !defined (__MINGW32__)
#define inline __forceinline
#endif