Commit 77c35e70 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Simplify MSVC detection to `mrb_static_assert`

parent 2aa70e96
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
#endif #endif
#if (defined __cplusplus && __cplusplus >= 201103L) || \ #if (defined __cplusplus && __cplusplus >= 201103L) || \
(defined _WIN32 && !defined __MINGW32__) || \ (defined _MSC_VER) || \
(defined __GXX_EXPERIMENTAL_CXX0X__) /* for old G++/Clang++ */ (defined __GXX_EXPERIMENTAL_CXX0X__) /* for old G++/Clang++ */
# define mrb_static_assert(exp, str) static_assert(exp, str) # define mrb_static_assert(exp, str) static_assert(exp, str)
#elif defined __STDC_VERSION__ && \ #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