2 //===--------------------------- setjmp.h ---------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_SETJMP_H
12 #define _LIBCPP_SETJMP_H
25 void longjmp(jmp_buf env, int val);
31 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
32 #pragma GCC system_header
35 #include_next <setjmp.h>
40 #define setjmp(env) setjmp(env)
45 #endif // _LIBCPP_SETJMP_H