From 816921713665ece96f95fcd7b0b6f8c634f87a09 Mon Sep 17 00:00:00 2001 From: Felipe Lema <1232306+FelipeLema@users.noreply.github.com> Date: Mon, 17 Jun 2019 13:53:33 -0400 Subject: [PATCH] compilers other than MSVC won't recognize `_Pragma` per https://github.com/aantron/better-enums/pull/74#pullrequestreview-249666979 --- enum.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/enum.h b/enum.h index c063e43..766a6ad 100644 --- a/enum.h +++ b/enum.h @@ -61,9 +61,7 @@ # define BETTER_ENUMS_NO_EXCEPTIONS # endif # endif -#endif - -#ifdef _MSC_VER +#else # if _MSC_VER >= 1911 # define BETTER_ENUMS_HAVE_CONSTEXPR # endif