]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for anything different from VC++
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Mar 2000 13:52:50 +0000 (13:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Mar 2000 13:52:50 +0000 (13:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/app.cpp

index 073c53e737b98191be72649bad7120cab74421b4..a564b6033fd2a3c048bbed94a1d25fd72cd2fbd7 100644 (file)
@@ -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