| Index: src/platform-cygwin.cc
|
| diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc
|
| index 0076d567f8b29711f881c6da6dffdfd8023325fb..6dd04dd172fac0b22adbc7ff66b42cfbf1911019 100644
|
| --- a/src/platform-cygwin.cc
|
| +++ b/src/platform-cygwin.cc
|
| @@ -53,7 +53,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 Cygwin.
|
|
|