setjmp.h revision 292928
1292928Sdim// -*- C++ -*- 2292928Sdim//===--------------------------- setjmp.h ---------------------------------===// 3292928Sdim// 4292928Sdim// The LLVM Compiler Infrastructure 5292928Sdim// 6292928Sdim// This file is dual licensed under the MIT and the University of Illinois Open 7292928Sdim// Source Licenses. See LICENSE.TXT for details. 8292928Sdim// 9292928Sdim//===----------------------------------------------------------------------===// 10292928Sdim 11292928Sdim#ifndef _LIBCPP_SETJMP_H 12292928Sdim#define _LIBCPP_SETJMP_H 13292928Sdim 14292928Sdim/* 15292928Sdim setjmp.h synopsis 16292928Sdim 17292928SdimMacros: 18292928Sdim 19292928Sdim setjmp 20292928Sdim 21292928SdimTypes: 22292928Sdim 23292928Sdim jmp_buf 24292928Sdim 25292928Sdimvoid longjmp(jmp_buf env, int val); 26292928Sdim 27292928Sdim*/ 28292928Sdim 29292928Sdim#include <__config> 30292928Sdim 31292928Sdim#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 32292928Sdim#pragma GCC system_header 33292928Sdim#endif 34292928Sdim 35292928Sdim#include_next <setjmp.h> 36292928Sdim 37292928Sdim#ifdef __cplusplus 38292928Sdim 39292928Sdim#ifndef setjmp 40292928Sdim#define setjmp(env) setjmp(env) 41292928Sdim#endif 42292928Sdim 43292928Sdim#endif // __cplusplus 44292928Sdim 45292928Sdim#endif // _LIBCPP_SETJMP_H 46