2015-10-09 04:41:26 +08:00
|
|
|
// -*- C++ -*-
|
|
|
|
//===--------------------------- setjmp.h ---------------------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_SETJMP_H
|
|
|
|
#define _LIBCPP_SETJMP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
setjmp.h synopsis
|
|
|
|
|
|
|
|
Macros:
|
|
|
|
|
|
|
|
setjmp
|
|
|
|
|
|
|
|
Types:
|
|
|
|
|
|
|
|
jmp_buf
|
|
|
|
|
|
|
|
void longjmp(jmp_buf env, int val);
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <__config>
|
|
|
|
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
2015-10-09 08:26:50 +08:00
|
|
|
#include_next <setjmp.h>
|
|
|
|
|
2015-11-06 14:30:12 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
2015-10-09 04:41:26 +08:00
|
|
|
#ifndef setjmp
|
|
|
|
#define setjmp(env) setjmp(env)
|
|
|
|
#endif
|
|
|
|
|
2015-11-06 14:30:12 +08:00
|
|
|
#endif // __cplusplus
|
|
|
|
|
2015-10-09 04:41:26 +08:00
|
|
|
#endif // _LIBCPP_SETJMP_H
|