Skip to content

Commit 151c184

Browse files
authored
Merge pull request numpy#22242 from lazka/pcg64-missing-include
BLD: add back stdlib.h include in pcg64.h
2 parents 397b6e5 + 80c75e3 commit 151c184

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

numpy/random/src/pcg64/pcg64.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252

5353
#include <inttypes.h>
5454

55-
#if defined(_WIN32) && !defined (__MINGW32__)
55+
#ifdef _WIN32
5656
#include <stdlib.h>
57+
#endif
58+
59+
#if defined(_WIN32) && !defined (__MINGW32__)
5760
#define inline __forceinline
5861
#endif
5962

0 commit comments

Comments
 (0)