Index: src/platform-macos.cc |
diff --git a/src/platform-macos.cc b/src/platform-macos.cc |
index 9bb4dbdd34a0264563e19084b87ca0f4e85c5695..eea17264054e5b0f1f2ea0d7a8e03f08fb6dcb59 100644 |
--- a/src/platform-macos.cc |
+++ b/src/platform-macos.cc |
@@ -302,7 +302,7 @@ void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) { |
const char* OS::LocalTimezone(double time) { |
- if (isnan(time)) return ""; |
+ if (std::isnan(time)) return ""; |
time_t tv = static_cast<time_t>(floor(time/msPerSecond)); |
struct tm* t = localtime(&tv); |
if (NULL == t) return ""; |