mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Simplify MSVC detection to mrb_static_assert
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@
|
||||
#endif
|
||||
|
||||
#if (defined __cplusplus && __cplusplus >= 201103L) || \
|
||||
(defined _WIN32 && !defined __MINGW32__) || \
|
||||
(defined _MSC_VER) || \
|
||||
(defined __GXX_EXPERIMENTAL_CXX0X__) /* for old G++/Clang++ */
|
||||
# define mrb_static_assert(exp, str) static_assert(exp, str)
|
||||
#elif defined __STDC_VERSION__ && \
|
||||
|
||||
Reference in New Issue
Block a user