| Index: src/platform-openbsd.cc
|
| diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc
|
| index 710c3904afbe49ddee51e42f45e515ca6e63e4f5..a8f91ad2ee8c13492f06329fe0f76ce5e70e0d32 100644
|
| --- a/src/platform-openbsd.cc
|
| +++ b/src/platform-openbsd.cc
|
| @@ -61,7 +61,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;
|
|
|