Files
Yanis b28c406d4a Match most of libc (#80)
* 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
2025-05-11 14:58:29 +02:00

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