w32pthreads: Remove macro redefinition of __except (it was a nasty and entirely unnecessary hack intending to protect idiot coders from their own failure to comply to very strict SEH exception handling rules).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2204 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-11-16 13:51:22 +00:00
parent 68c0e16ac0
commit b40dd9253d
1 changed files with 8 additions and 3 deletions

View File

@ -1325,9 +1325,14 @@ PTW32_DLLPORT DWORD PTW32_CDECL ptw32_get_exception_services_code(void);
* Redefine the SEH __except keyword to ensure that applications
* propagate our internal exceptions up to the library's internal handlers.
*/
#define __except( E ) \
__except( ( GetExceptionCode() == ptw32_get_exception_services_code() ) \
? EXCEPTION_CONTINUE_SEARCH : ( E ) )
// PCSX2: Holy crap, what?! No. Let's not force code conformity on stupid coders. If they can't write
// a proper exception handler that does EXCEPTION_CONTINUE_SEARCH on unhandled exceptions, they deserve
// whatever bad karma befalls them. --air
//#define __except( E ) \
// __except( ( GetExceptionCode() == ptw32_get_exception_services_code() ) \
// ? EXCEPTION_CONTINUE_SEARCH : ( E ) )
#endif /* __CLEANUP_SEH */