X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..cce4b3fe2b05e1d928d7a5930c33c624b2f3a667:/src/common/timercmn.cpp diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index ca30cb5be1..369b3b73d2 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -33,6 +33,7 @@ #endif #include + #ifndef __WXMAC__ #include #endif @@ -42,7 +43,8 @@ #endif #if defined(__linux__) || defined(__SVR4__) || defined(__SYSV__) || defined(__SGI__) || \ - defined(__ALPHA__) || defined(__GNUWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) + defined(__ALPHA__) || defined(__GNUWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) || \ + defined(__SALFORDC__) #include #endif @@ -147,11 +149,15 @@ bool wxGetLocalTime(long *timeZone, int *dstObserved) *dstObserved = tp->tm_isdst; #else -#if (((defined(__SYSV__) && !defined(__HPUX__)) || defined(__MSDOS__) || defined(__WXMSW__)) && !defined(__GNUWIN32__) && !defined(__MWERKS__)) -#ifdef __BORLANDC__ +#if (((defined(__SYSV__) && !defined(__HPUX__)) || defined(__MSDOS__) || defined(__WXMSW__))\ + && !defined(__GNUWIN32__) && !defined(__MWERKS__) ) +#if defined(__BORLANDC__) /* Borland uses underscores */ *timeZone = _timezone; *dstObserved = _daylight; +#elif defined(__SALFORDC__) + *timeZone = _timezone; + *dstObserved = daylight; #else *timeZone = timezone; *dstObserved = daylight;