Commit f261c680 by Eric Fiselier

Try and add MSVC NORETURN attribute again

parent 756f0699
......@@ -15,10 +15,12 @@
# define COMPILER_GCC
#endif
#if __has_feature(cxx_attributes) || defined(COMPILER_MSVC)
#if __has_feature(cxx_attributes)
# define BENCHMARK_NORETURN [[noreturn]]
#elif defined(__GNUC__)
# define BENCHMARK_NORETURN __attribute__((noreturn))
#elif defined(COMPILER_MSVC)
# define BENCHMARK_NORETURN __declspec(noreturn)
#else
# define BENCHMARK_NORETURN
#endif
......
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