8000 Map inline to __forceinline only for msvc windows targets. · val-verde/python-numpy@f15def0 · GitHub
[go: up one dir, main page]

Skip to content

Commit f15def0

Browse files
Map inline to __forceinline only for msvc windows targets.
1 parent 6b2d7d9 commit f15def0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numpy/random/src/mt19937/mt19937.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <math.h>
33
#include <stdint.h>
44

5-
#ifdef _WIN32
5+
#ifdef _MSC_VER
66
#define inline __forceinline
77
#endif
88

numpy/random/src/pcg64/pcg64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
#include <inttypes.h>
5454

55-
#ifdef _WIN32
55+
#ifdef _MSC_VER
5656
#include <stdlib.h>
5757
#define inline __forceinline
5858
#endif

0 commit comments

Comments
 (0)
0