diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-10 19:18:05 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-10 19:18:05 +0200 |
commit | b4aa9d4076b7260cae801c726db19a4b176c5eaa (patch) | |
tree | 45acef44b4b9532c7c205cd19365dff055ff8a24 /tests | |
parent | 7986a219dcb6a003eb44aa4d6acffbef23a539cd (diff) | |
download | gnulib-b4aa9d4076b7260cae801c726db19a4b176c5eaa.tar.gz |
stdbool C++ tests: Fix for C++20.
* tests/test-stdbool-c++2.cc: Don't include <cstdbool> in C++20 or
newer.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-stdbool-c++2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-stdbool-c++2.cc b/tests/test-stdbool-c++2.cc index 4d05e8073d..551cbb67a0 100644 --- a/tests/test-stdbool-c++2.cc +++ b/tests/test-stdbool-c++2.cc @@ -17,7 +17,7 @@ #define GNULIB_NAMESPACE gnulib #include <config.h> -#if __cplusplus >= 201103 +#if __cplusplus >= 201103 && __cplusplus < 202002 # include <cstdbool> |