Unverified Commit 96bae1d5 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

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

Simplify MSVC detection to `mrb_static_assert`
parents 2aa70e96 77c35e70
......@@ -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__ && \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment