2015-10-09 04:41:26 +08:00
|
|
|
// -*- C++ -*-
|
2021-11-18 05:25:01 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2015-10-09 04:41:26 +08:00
|
|
|
//
|
2019-01-19 18:56:40 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-10-09 04:41:26 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#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)
|
2022-02-02 09:16:40 +08:00
|
|
|
# pragma GCC system_header
|
2015-10-09 04:41:26 +08:00
|
|
|
#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
|
|
|
|
|
2021-04-21 00:03:32 +08:00
|
|
|
#endif // _LIBCPP_SETJMP_H
|