mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Suppress __STDC_VERSION__ warns for C++
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@
|
||||
#define mrb_assert_int_fit(t1,n,t2,max) ((void)0)
|
||||
#endif
|
||||
|
||||
#if __STDC_VERSION__ >= 201112L
|
||||
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L
|
||||
#define mrb_static_assert(exp, str) _Static_assert(exp, str)
|
||||
#else
|
||||
#define mrb_static_assert(exp, str) mrb_assert(exp)
|
||||
|
||||
Reference in New Issue
Block a user