]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/PropertyDescriptor.cpp
JavaScriptCore-1218.34.tar.gz
[apple/javascriptcore.git] / runtime / PropertyDescriptor.cpp
index 236a8e5aeec176757815072751d4eae48fc7a286..14b42fd9af93d0a41deec585eb8db1e85e15b21c 100644 (file)
@@ -176,8 +176,8 @@ bool sameValue(ExecState* exec, JSValue a, JSValue b)
         return false;
     double x = a.asNumber();
     double y = b.asNumber();
-    if (isnan(x))
-        return isnan(y);
+    if (std::isnan(x))
+        return std::isnan(y);
     return bitwise_cast<uint64_t>(x) == bitwise_cast<uint64_t>(y);
 }