Fix __cplusplus value check

This commit is contained in:
Chris Robinson 2021-01-22 06:00:36 -08:00
parent cff3693387
commit b3dc99a467

View File

@ -36,7 +36,7 @@
#define ASSUME(x) ((void)0)
#endif
#if __cplusplus >= 201709L || defined(__cpp_if_constexpr)
#if __cplusplus >= 201703L || defined(__cpp_if_constexpr)
#define if_constexpr if constexpr
#else
#define if_constexpr if