X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb10f04c957b3712c04ddec92d083209e127b011..599a97e9ab9d9c1fca761d501ef101595e0ae486:/src/common/datetime.cpp diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 10e5877e5a..8cd374b31f 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -92,7 +92,7 @@ #endif // broken strptime() #ifndef WX_TIMEZONE - #if defined(__MINGW32__) || defined(__VISAGECPP__) + #if defined(__BORLANDC__) || defined(__MINGW32__) || defined(__VISAGECPP__) #define WX_TIMEZONE _timezone #else // unknown platform - try timezone #define WX_TIMEZONE timezone @@ -2293,7 +2293,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) // the spec was correct Set(day, mon, year, hour, min, sec); - MakeTimezone(60*offset); + MakeTimezone(60*(wxDateTime_t)offset); return p; }