Skip to content
Snippets Groups Projects
Commit 6792d61d authored by Tom Ritter's avatar Tom Ritter
Browse files

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
parent 51fc86e3
No related branches found
No related tags found
No related merge requests found
......@@ -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) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment