Index: src/platform-macos.cc |
diff --git a/src/platform-macos.cc b/src/platform-macos.cc |
index 5ffc3fc54c45adcbd7a7d2a47bdbc04d3ae52539..c5e4cbe55958d6c82793eb9b19a38f9bcd244c49 100644 |
--- a/src/platform-macos.cc |
+++ b/src/platform-macos.cc |
@@ -184,7 +184,7 @@ void OS::SignalCodeMovingGC() { |
const char* OS::LocalTimezone(double time) { |
if (std::isnan(time)) return ""; |
- time_t tv = static_cast<time_t>(floor(time/msPerSecond)); |
+ time_t tv = static_cast<time_t>(std::floor(time/msPerSecond)); |
struct tm* t = localtime(&tv); |
if (NULL == t) return ""; |
return t->tm_zone; |