summaryrefslogtreecommitdiffstats
path: root/Include/pymath.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pymath.h')
-rw-r--r--Include/pymath.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Include/pymath.h b/Include/pymath.h
index f869724..ebb3b05 100644
--- a/Include/pymath.h
+++ b/Include/pymath.h
@@ -163,12 +163,7 @@ PyAPI_FUNC(void) _Py_set_387controlword(unsigned short);
#pragma float_control(push)
#pragma float_control(precise, on)
#pragma float_control(except, on)
- #if defined(_MSC_VER)
- __declspec(noinline)
- #else /* Linux */
- __attribute__((noinline))
- #endif /* _MSC_VER */
- static double __icc_nan()
+ Py_NO_INLINE static double __icc_nan()
{
return sqrt(-1.0);
}