xref: /llvm-project/libc/hdr/types/jmp_buf.h (revision 915b910d800d7fab6a692294ff1d7075d8cba824)
1 //===-- Definition of jmp_buf.h ------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apahce License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIBC_HDR_TYPES_JMP_BUF_H
10 #define LLVM_LIBC_HDR_TYPES_JMP_BUF_H
11 
12 #ifdef LIBC_FULL_BUILD
13 
14 #include "include/llvm-libc-types/jmp_buf.h"
15 
16 #else // overlay mode
17 
18 #include <setjmp.h>
19 
20 #endif // LLVM_LIBC_FULL_BUILD
21 
22 #endif // LLVM_LIBC_HDR_TYPES_JMP_BUF_H
23