Skip to content

Commit 8decc5a

Browse files
author
Chris Bartak
committed
function not macro for 27 compat
1 parent 8f739a6 commit 8decc5a

File tree

1 file changed

+1
-1
lines changed
  • pandas/_libs/src/headers

1 file changed

+1
-1
lines changed

pandas/_libs/src/headers/cmath

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#if defined(_MSC_VER) && (_MSC_VER < 1800)
77
#include <cmath>
88
namespace std {
9-
#define isnan(x) _isnan(x)
9+
__inline int isnan(double x) { return _isnan(x); }
1010
__inline int signbit(double num) { return _copysign(1.0, num) < 0; }
1111
}
1212
#else

0 commit comments

Comments
 (0)