mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 16:56:42 +08:00
Enabled constepxr support for clang-cl.
This commit is contained in:
parent
f520b397e3
commit
ab4c8583db
5
enum.h
5
enum.h
@ -38,6 +38,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
# ifdef __clang__
|
||||||
|
# if __has_feature(cxx_constexpr)
|
||||||
|
# define BETTER_ENUMS_HAVE_CONSTEXPR
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
# ifndef _CPPUNWIND
|
# ifndef _CPPUNWIND
|
||||||
# define BETTER_ENUMS_NO_EXCEPTIONS
|
# define BETTER_ENUMS_NO_EXCEPTIONS
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user