mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fallback to mrb_assert instead of dirty trick.
This commit is contained in:
+1
-1
@@ -432,7 +432,7 @@ void mrb_atexit(mrb_state *mrb, mrb_atexit_func func);
|
||||
#if __STDC_VERSION__ >= 201112L
|
||||
#define mrb_static_assert(exp, str) _Static_assert(exp, str)
|
||||
#else
|
||||
#define mrb_static_assert(exp, str) typedef char mrb_static_assert ## __LINE__[exp]
|
||||
#define mrb_static_assert(exp, str) mrb_assert(exp)
|
||||
#endif
|
||||
|
||||
mrb_value mrb_format(mrb_state *mrb, const char *format, ...);
|
||||
|
||||
Reference in New Issue
Block a user