X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..02e8b2f9fbdfcd25080c42082d637da257c20094:/src/common/timercmn.cpp diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index a1e02d73a3..f25a817409 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -39,7 +39,8 @@ #include #endif -#if defined(__linux__) || defined(__SVR4__) || defined(__SYSV__) || defined(__SGI__) || defined(__ALPHA__) || defined(__GNUWIN32__) +#if defined(__linux__) || defined(__SVR4__) || defined(__SYSV__) || defined(__SGI__) || \ + defined(__ALPHA__) || defined(__GNUWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) #include #endif @@ -168,6 +169,8 @@ bool wxGetLocalTime(long *timeZone, int *dstObserved) *timeZone = tp->tm_gmtoff; // ??? *dstObserved = tp->tm_isdst; #endif +#elif defined(__WXSTUBS__) + return FALSE; #else // #error wxGetLocalTime not implemented. struct timeval tp;