Used proper __cplusplus
value for C++20
This commit is contained in:
parent
e380a33e89
commit
a3af95ccbb
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@
|
|||
|
||||
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
|
||||
|
||||
// To allow using some optional C++20 features (TODO: use the actual C++20 value once that's finalized)
|
||||
#if __cplusplus > 201703L
|
||||
// To allow using some optional C++20 features
|
||||
#if __cplusplus >= 202002L
|
||||
#define HAVE_CXX20
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue