Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen

error: '_exception_code' only allowed in __except block or filter expression

--HG--
extra : histedit_source : 4f1cc219b7aca1e1eac1783a71eddbce97f1e214
This commit is contained in:
Tom Ritter 2018-11-02 13:28:01 -05:00
parent 51fc86e3a0
commit 6792d61d88

4
mozilla-config.h.in Normal file → Executable file
View File

@ -54,6 +54,10 @@
*/
#define __try if(true)
#define __except(x) else
#ifdef GetExceptionCode
#undef GetExceptionCode
#endif
#define GetExceptionCode() 0
#endif /* __MINGW32__ */
#endif /* defined(CHROMIUM_SANDBOX_BUILD) && defined(XP_WIN) */