From: Gilles Depeyrot Date: Sun, 16 Feb 2003 18:19:15 +0000 (+0000) Subject: fix wxDateTime offset for Apple Developer Tools (SourceForge bug # 614010) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/904a2463aaf4f29e3b8f96436aefb7528aebe397 fix wxDateTime offset for Apple Developer Tools (SourceForge bug # 614010) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 9ea0f924b6..ca6a0ada1f 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -50,15 +50,11 @@ class WXDLLEXPORT wxDateSpan; // set this to the corresponding value in seconds 1/1/1970 has on your // systems c-runtime -#ifdef __WXMAC__ -#if __MSL__ < 0x6000 +#if defined(__WXMAC__) && !defined(__DARWIN__) && __MSL__ < 0x6000 #define WX_TIME_BASE_OFFSET ( 2082844800L + 126144000L ) #else #define WX_TIME_BASE_OFFSET 0 #endif -#else - #define WX_TIME_BASE_OFFSET 0 -#endif /* * TODO *