13 lines
549 B
Text
13 lines
549 B
Text
https://github.com/pocoproject/poco/issues/131
|
|
|
|
--- Foundation/src/Timezone_UNIX.cpp.orig Wed Mar 6 19:45:52 2013
|
|
+++ Foundation/src/Timezone_UNIX.cpp Tue Mar 19 17:13:08 2013
|
|
@@ -52,7 +52,7 @@ class TZInfo (public)
|
|
|
|
int timeZone()
|
|
{
|
|
- #if defined(__APPLE__) || defined(__FreeBSD__) || defined(POCO_ANDROID) // no timezone global var
|
|
+ #if defined(__APPLE__) || defined(__FreeBSD__) || defined (__OpenBSD__) || defined(POCO_ANDROID) // no timezone global var
|
|
std::time_t now = std::time(NULL);
|
|
struct std::tm t;
|
|
gmtime_r(&now, &t);
|