Added a HAVE_CXX20 define
This commit is contained in:
parent
bb49aa8397
commit
3ff0b7f081
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@
|
|||
|
||||
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
|
||||
|
||||
// To allow using some optional C++17 features
|
||||
#if __cplusplus >= 201703L
|
||||
#define HAVE_CXX17
|
||||
// To allow using some optional C++20 features (TODO: use the actual C++20 value once that's finalized)
|
||||
#if __cplusplus > 201703L
|
||||
#define HAVE_CXX20
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
|
|
Loading…
Add table
Reference in a new issue