diff options
Diffstat (limited to 'libcxx/include/stdbool.h')
| -rw-r--r-- | libcxx/include/stdbool.h | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/libcxx/include/stdbool.h b/libcxx/include/stdbool.h index 0bc1aa8304ad..74869b46d561 100644 --- a/libcxx/include/stdbool.h +++ b/libcxx/include/stdbool.h @@ -6,6 +6,7 @@  // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===// +  #ifndef _LIBCPP_STDBOOL_H  #define _LIBCPP_STDBOOL_H @@ -24,7 +25,9 @@ Macros:  #  pragma GCC system_header  #endif -#include_next <stdbool.h> +#if __has_include_next(<stdbool.h>) +#  include_next <stdbool.h> +#endif  #ifdef __cplusplus  #undef bool | 
