Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index a6402d73dd638a1a533ea1e06c14dc2681863ed9..a4d03b0aca49ae2d670ea1963e3ccd11b567cddf 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -322,7 +322,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 ""; |