2016-01-13 07:18:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <excpt.h>
|
|
|
|
|
|
|
|
#define __except_try() __try
|
|
|
|
#define __except_catch() __except (g_MMU->MemoryFilter(_exception_code(), _exception_info()))
|
2016-01-13 07:18:06 +00:00
|
|
|
#else
|
2021-06-28 01:57:35 +00:00
|
|
|
#define __except_try() try
|
|
|
|
#define __except_catch() catch (...)
|
2016-01-13 07:18:06 +00:00
|
|
|
#endif
|