From: Vadim Zeitlin Date: Sun, 19 Mar 2000 13:52:50 +0000 (+0000) Subject: compilation fix for anything different from VC++ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5ea1d7cc805ed7fd7c316cc930163e34fd9ecb7 compilation fix for anything different from VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 073c53e737..a564b6033f 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -663,6 +663,11 @@ int wxEntry(WXHINSTANCE hInstance, // FIXME other compilers must support Win32 SEH (structured exception // handling) too, just find the appropriate keyword in their docs! // Please note that it's _not_ the same as C++ exceptions! +#ifndef __VISUALC__ + #undef wxUSE_ON_FATAL_EXCEPTION + #define wxUSE_ON_FATAL_EXCEPTION 0 +#endif // VC++ + #if wxUSE_ON_FATAL_EXCEPTION __try { #endif