FIx numpy 32-bit build

This commit is contained in:
peterbudai@hotmail.com
2019-09-19 21:34:19 +02:00
parent 64ed46288e
commit d4db5ef8ba
2 changed files with 12 additions and 1 deletions

View File

@@ -20,3 +20,14 @@
#include <stdlib.h>
#define inline __forceinline
#endif
--- a/numpy/random/src/philox/philox.h 2019-09-19 21:22:05.822734300 +0200
+++ b/numpy/random/src/philox/philox.h 2019-09-06 01:59:07.000000000 +0200
@@ -33,7 +33,7 @@
return (uint64_t)product;
}
#else
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32__)
#include <intrin.h>
#if defined(_WIN64) && defined(_M_AMD64)
#pragma intrinsic(_umul128)