patches for BC++ 5.3 from Ricky Gonzales <gonzales@pyramid3.net>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-23 14:05:21 +00:00
parent fb10f04c95
commit ad0dc53bff
4 changed files with 14 additions and 7 deletions

View File

@@ -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
@@ -2196,7 +2196,7 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
}
// and now the interesting part: the timezone
int offset;
wxDateTime_t offset;
if ( *p == _T('-') || *p == _T('+') )
{
// the explicit offset given: it has the form of hhmm