#define WX_GMTOFF_IN_TM
#elif defined(__WXWINCE__) && defined(__VISUALC8__)
// _timezone is not present in dynamic run-time library
- #if 1
+ #if 0
// Solution (1): use the function equivalent of _timezone
static long wxGetTimeZone()
{
return s_Timezone;
}
#define WX_TIMEZONE wxGetTimeZone()
- #elif 0
+ #elif 1
// Solution (2): using GetTimeZoneInformation
static long wxGetTimeZone()
{
// some special cases
static struct
{
- const wxChar *str;
+ const char *str;
int dayDiffFromToday;
} literalDates[] =
{
else // not a valid weekday name
{
// try the ordinals
- static const wxChar *ordinals[] =
+ static const char *ordinals[] =
{
wxTRANSLATE("first"),
wxTRANSLATE("second"),
// first try some extra things
static const struct
{
- const wxChar *name;
+ const char *name;
wxDateTime_t hour;
} stdTimes[] =
{