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
|
|
|
|
#define __except_try() __try
|
|
|
|
#define __except_catch() __catch (...)
|
|
|
|
#endif
|