#pragma hdrstop
#endif
+#if !defined(wxUSE_DATETIME) || wxUSE_DATETIME
+
#ifndef WX_PRECOMP
#include "wx/string.h"
- #include "wx/intl.h"
#include "wx/log.h"
#endif // WX_PRECOMP
+#include "wx/intl.h"
#include "wx/thread.h"
#include "wx/tokenzr.h"
#include "wx/module.h"
#elif defined(__MWERKS__)
long wxmw_timezone = 28800;
#define WX_TIMEZONE wxmw_timezone;
+ #elif defined(__DJGPP__)
+ #include <sys/timeb.h>
+ 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
return holidays.GetCount();
}
-
+#endif // wxUSE_DATETIME