X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ac4716dd2d6c75a017407a5fc59af11b20721b9..9aaf11927c8f43dcf296563c6a62707d625c2356:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 83f224db2c..7ee7a28fe7 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -70,7 +70,7 @@ extern int wxEntryReal(int& argc, wxChar **argv); #if wxUSE_BASE -#ifdef __VISUALC__ +#if defined(__VISUALC__) && !defined(__WXWINCE__) // VC++ (at least from 4.0 up to version 7.1) is incredibly broken in that // a "catch ( ... )" will *always* catch SEH exceptions in it even though // it should have never been the case... to prevent such catches from @@ -226,7 +226,7 @@ int wxEntry(int& argc, wxChar **argv) #else // !wxUSE_ON_FATAL_EXCEPTION -#ifdef __VISUALC__ +#if defined(__VISUALC__) && !defined(__WXWINCE__) static void wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))