_isnanf is not defined for arm64 use isnan instead
authorRahul Kumar <rahku@microsoft.com>
Tue, 18 Oct 2016 18:58:20 +0000 (11:58 -0700)
committerRahul Kumar <rahku@microsoft.com>
Tue, 18 Oct 2016 18:58:20 +0000 (11:58 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/0229860b530829e3ed2ccbfefa2574a529f9ede4

src/coreclr/src/classlibnative/float/floatsingle.cpp

index daf8999..29fee22 100644 (file)
@@ -12,7 +12,7 @@
 #define IS_FLT_INFINITY(x)         (((*((INT32*)((void*)&x))) & 0x7FFFFFFF) == 0x7F800000)
 
 // Windows x86 and Windows ARM don't define _isnanf() but they do define a generic macro isnan()
-#if (defined(_TARGET_X86_) || defined(_TARGET_ARM_)) && !defined(FEATURE_PAL) && !defined(_isnanf)
+#if (defined(_TARGET_X86_) || defined(_TARGET_ARM_) || defined(_TARGET_ARM64_)) && !defined(FEATURE_PAL) && !defined(_isnanf)
 #define _isnanf      isnan
 #endif