Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index eb2d10b3f9d911b5d0fbd607766724d5fa203f8b..0f1481b2462702ed2f912230a87e7364dd8751e6 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -115,7 +115,7 @@ bool OS::ArmUsingHardFloat() { |
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; |