Merge pull request #5065 from shuujii/simplify-MSVC-detection-to-mrb_static_assert

Simplify MSVC detection to `mrb_static_assert`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-08-12 21:51:45 +09:00
committed by GitHub
+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__ && \