mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
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:
parent
51fc86e3a0
commit
6792d61d88
4
mozilla-config.h.in
Normal file → Executable file
4
mozilla-config.h.in
Normal file → Executable 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) */
|
||||
|
Loading…
Reference in New Issue
Block a user