Chromium Code Reviews| Index: base/third_party/nspr/prtime.cc |
| =================================================================== |
| --- base/third_party/nspr/prtime.cc (revision 17958) |
| +++ base/third_party/nspr/prtime.cc (working copy) |
| @@ -149,7 +149,7 @@ |
| result *= kSecondsToMicroseconds; |
| result += exploded->tm_usec; |
| return result; |
| -#elif defined(OS_LINUX) |
| +#elif defined(OS_LINUX) || defined(OS_OPENBSD) |
| struct tm exp_tm = {0}; |
| exp_tm.tm_sec = exploded->tm_sec; |
| exp_tm.tm_min = exploded->tm_min; |