mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
54 lines
871 B
Plaintext
54 lines
871 B
Plaintext
#ifndef _MSL_CSETJMP
|
|
#define _MSL_CSETJMP
|
|
|
|
#include <ansi_params.h>
|
|
|
|
#if !_MSL_USING_MW_C_HEADERS
|
|
#include <setjmp.h>
|
|
|
|
#if _MSL_PUT_THIRD_PARTY_C_IN_STD
|
|
#include <msl_cpp_std_setjmp.h>
|
|
#endif
|
|
#else
|
|
|
|
#ifndef RC_INVOKED
|
|
|
|
#if __dest_os == __arm_bare
|
|
#include <setjmp.ARM.h>
|
|
#else
|
|
#error Unknown platform
|
|
#endif
|
|
|
|
#ifndef _MSL_SETJMP_LONGJMP_DEFINED
|
|
#define _MSL_SETJMP_LONGJMP_DEFINED
|
|
|
|
_MSL_BEGIN_EXTERN_C
|
|
|
|
_MSL_IMP_EXP_C int _MSL_CDECL setjmp(__std(jmp_buf));
|
|
|
|
_MSL_END_EXTERN_C
|
|
|
|
_MSL_BEGIN_NAMESPACE_STD
|
|
_MSL_BEGIN_EXTERN_C
|
|
|
|
_MSL_IMP_EXP_C void _MSL_CDECL longjmp(jmp_buf, int) _MSL_CANT_THROW;
|
|
|
|
_MSL_END_EXTERN_C
|
|
_MSL_END_NAMESPACE_STD
|
|
|
|
#endif
|
|
|
|
_MSL_BEGIN_NAMESPACE_STD
|
|
_MSL_BEGIN_EXTERN_C
|
|
|
|
_MSL_IMP_EXP_C void _MSL_CDECL __longjmp_ldestr(jmp_buf, int) _MSL_CANT_THROW;
|
|
|
|
_MSL_END_EXTERN_C
|
|
_MSL_END_NAMESPACE_STD
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|