X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50a4038e3c3a13e3d493c432017d371d4916ce6..2b4f7fbc9f5eb8386c5b5d23151849822d54f7db:/include/wx/debug.h diff --git a/include/wx/debug.h b/include/wx/debug.h index f0ca48d9fc..c944baba82 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -127,7 +127,7 @@ #ifdef __cplusplus /* Use of wxFalse instead of false suppresses compiler warnings about testing */ /* constant expression */ - WXDLLIMPEXP_DATA_BASE(extern const bool) wxFalse; + extern WXDLLIMPEXP_DATA_BASE(const bool) wxFalse; #endif #define wxAssertFailure wxFalse @@ -240,7 +240,8 @@ it always returns false in other cases. */ #ifdef __cplusplus - #if defined(__WXMAC__) || defined(__WXMSW__) + /* ABX: check __WIN32__ instead of __WXMSW__ for the same MSWBase in any Win32 port */ + #if defined(__WXMAC__) || defined(__WIN32__) extern bool WXDLLIMPEXP_BASE wxIsDebuggerRunning(); #else /* !Mac */ inline bool wxIsDebuggerRunning() { return false; }