We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a18badd commit 15b9393Copy full SHA for 15b9393
1 file changed
src/catch2/internal/catch_compiler_capabilities.hpp
@@ -27,16 +27,12 @@
27
#include <catch2/internal/catch_platform.hpp>
28
#include <catch2/catch_user_config.hpp>
29
30
-#ifdef __cplusplus
31
-
32
-# if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
33
-# define CATCH_CPP17_OR_GREATER
34
-# endif
35
36
-# if (__cplusplus >= 202002L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)
37
-# define CATCH_CPP20_OR_GREATER
38
+#if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
+# define CATCH_CPP17_OR_GREATER
+#endif
39
+#if (__cplusplus >= 202002L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)
+# define CATCH_CPP20_OR_GREATER
40
#endif
41
42
// Only GCC compiler should be used in this block, so other compilers trying to
0 commit comments