mirror of
https://github.com/zeldaret/oot-vc.git
synced 2026-09-26 05:31:58 -04:00
b28c406d4a
* started libc * progress * format * match file_io.c * match mem_funcs and math_api * printf prog and match strtoul.c * format * match bsearch.c * match ansi_fp.c * make USE_CURRENT_LOCALE a global define * started time.c * match the printf function * add splits for oot-u and oot-e * cleanup * review
17 lines
300 B
C
17 lines
300 B
C
#ifndef _ASSERT_H
|
|
#define _ASSERT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void __msl_assertion_failed(const char*, const char*, const char*, int);
|
|
|
|
#define assert(condition) ((condition) ? ((void)0) : __msl_assertion_failed(#condition, __FILE__, 0, __LINE__))
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|