From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- libcxx/include/setjmp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcxx/include/setjmp.h') diff --git a/libcxx/include/setjmp.h b/libcxx/include/setjmp.h index de4f9edf4886..f4a2bbcb0bd3 100644 --- a/libcxx/include/setjmp.h +++ b/libcxx/include/setjmp.h @@ -31,7 +31,9 @@ void longjmp(jmp_buf env, int val); # pragma GCC system_header #endif -#include_next +#if __has_include_next() +# include_next +#endif #ifdef __cplusplus -- cgit v1.2.3