X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93401be9624e239870c89090ac55261efd261eff..13a7abf97312d2e9427898f3432eb9214f09427f:/include/wx/datetime.h diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 35a164dd3a..1794c796a6 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -36,7 +36,7 @@ class WXDLLEXPORT wxDateSpan; // rebuilt) // For Mingw32, causes a link error. (VZ: why?) -#if defined( __WXDEBUG__) && !defined(__MINGW32__) +#if defined( __WXDEBUG__) && !defined(__MINGW32__) && !(defined(_MSC_VER) && wxUSE_ACCESSIBILITY) #define wxDATETIME_DONT_INLINE #undef inline @@ -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 *