mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
68c0e16ac0
commit
b40dd9253d
|
@ -1325,9 +1325,14 @@ PTW32_DLLPORT DWORD PTW32_CDECL ptw32_get_exception_services_code(void);
|
||||||
* Redefine the SEH __except keyword to ensure that applications
|
* Redefine the SEH __except keyword to ensure that applications
|
||||||
* propagate our internal exceptions up to the library's internal handlers.
|
* propagate our internal exceptions up to the library's internal handlers.
|
||||||
*/
|
*/
|
||||||
#define __except( E ) \
|
|
||||||
__except( ( GetExceptionCode() == ptw32_get_exception_services_code() ) \
|
// PCSX2: Holy crap, what?! No. Let's not force code conformity on stupid coders. If they can't write
|
||||||
? EXCEPTION_CONTINUE_SEARCH : ( E ) )
|
// 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 */
|
#endif /* __CLEANUP_SEH */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue