Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index a0590cbecb89ed78507ac8c81c3099a32868c11e..5afa7c56746b26fe63ca582aabea6d86fa232ce8 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -82,7 +82,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 tzname[0]; // The location of the timezone string on Solaris. |