diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 672a97e7a9..23080fef24 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -103,6 +103,15 @@ #elif defined(__MWERKS__) long wxmw_timezone = 28800; #define WX_TIMEZONE wxmw_timezone; + #elif defined(__DJGPP__) + #include + static long wxGetTimeZone() + { + struct timeb tb; + ftime(&tb); + return tb.timezone; + } + #define WX_TIMEZONE wxGetTimeZone() #else // unknown platform - try timezone #define WX_TIMEZONE timezone #endif