Simplify MSVC detection to mrb_static_assert

This commit is contained in:
KOBAYASHI Shuji
2020-08-12 20:05:31 +09:00
parent 2aa70e9690
commit 77c35e7097
+1 -1
View File
@@ -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__ && \