Files
MINGW-packages/mingw-w64-python3-numpy/0010-mingw-inline-stuff.patch
T

23 lines
626 B
Diff

--- a/numpy/random/src/mt19937/mt19937.h 2019-09-19 14:43:38.757883000 +0200
+++ b/numpy/random/src/mt19937/mt19937.h 2019-09-19 14:43:08.257910100 +0200
@@ -2,7 +2,7 @@
#include <math.h>
#include <stdint.h>
-#ifdef _WIN32
+#if defined(_WIN32) && !defined (__MINGW32__)
#define inline __forceinline
#endif
--- a/numpy/random/src/pcg64/pcg64.h 2019-09-19 14:43:38.757883000 +0200
+++ b/numpy/random/src/pcg64/pcg64.h 2019-09-19 14:43:08.257910100 +0200
@@ -52,7 +52,7 @@
#include <inttypes.h>
-#ifdef _WIN32
+#if defined(_WIN32) && !defined (__MINGW32__)
#include <stdlib.h>
#define inline __forceinline
#endif