summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-09-15 23:16:24 +0300
committermattip <matti.picus@gmail.com>2018-09-15 23:16:24 +0300
commit466e532e9d9f3c219d6f74a5d29fbe0b057b7346 (patch)
tree49a8e71ba824d8b349f642fdf4088446f9137f3f /numpy/core/include
parent2c061739859c84632f31ba08b61f405a05ac07f4 (diff)
parent88c01b8ab4260b938f23f88f8a5f385fd361bc33 (diff)
downloadnumpy-466e532e9d9f3c219d6f74a5d29fbe0b057b7346.tar.gz
merge master into gufunc-signature-modification2
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/npy_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/npy_common.h b/numpy/core/include/numpy/npy_common.h
index 5faff4385..64aaaacff 100644
--- a/numpy/core/include/numpy/npy_common.h
+++ b/numpy/core/include/numpy/npy_common.h
@@ -14,7 +14,7 @@
* using static inline modifiers when defining npy_math functions
* allows the compiler to make optimizations when possible
*/
-#if NPY_INTERNAL_BUILD
+#if defined(NPY_INTERNAL_BUILD) && NPY_INTERNAL_BUILD
#ifndef NPY_INLINE_MATH
#define NPY_INLINE_MATH 1
#endif