Skip to content

Commit

Permalink
Enabled constepxr support for clang-cl.
Browse files Browse the repository at this point in the history
  • Loading branch information
dutow committed Jul 9, 2016
1 parent f520b39 commit ab4c858
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
#endif

#ifdef _MSC_VER
# ifdef __clang__
# if __has_feature(cxx_constexpr)
# define BETTER_ENUMS_HAVE_CONSTEXPR
# endif
# endif
# ifndef _CPPUNWIND
# define BETTER_ENUMS_NO_EXCEPTIONS
# endif
Expand Down

0 comments on commit ab4c858

Please sign in to comment.