Index: src/platform-posix.cc |
diff --git a/src/platform-posix.cc b/src/platform-posix.cc |
index 48898ed9aad0acdb4cc06ccba4b01c9818f26de4..26c71a6f7a31c1c6d25bf56e4319bd8ff71d1e46 100644 |
--- a/src/platform-posix.cc |
+++ b/src/platform-posix.cc |
@@ -204,7 +204,7 @@ int64_t OS::Ticks() { |
double OS::DaylightSavingsOffset(double time) { |
- if (isnan(time)) return nan_value(); |
+ if (std::isnan(time)) return nan_value(); |
time_t tv = static_cast<time_t>(floor(time/msPerSecond)); |
struct tm* t = localtime(&tv); |
if (NULL == t) return nan_value(); |