Index: src/platform-freebsd.cc |
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc |
index 75d88ec5d333ae4ddd86377372be481f04ccddc7..6980a6e68bf837d841c23da5c9527d2bf5a8f23e 100644 |
--- a/src/platform-freebsd.cc |
+++ b/src/platform-freebsd.cc |
@@ -63,7 +63,7 @@ namespace internal { |
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; |