blob: ec4a5f695f3dba242b9d7bcfc6f4938c51cbbe60 [file] [log] [blame]
Richard Smithf4677322015-10-08 20:41:26 +00001// -*- C++ -*-
2//===--------------------------- setjmp.h ---------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_SETJMP_H
12#define _LIBCPP_SETJMP_H
13
14/*
15 setjmp.h synopsis
16
17Macros:
18
19 setjmp
20
21Types:
22
23 jmp_buf
24
25void longjmp(jmp_buf env, int val);
26
27*/
28
29#include <__config>
Richard Smithf4677322015-10-08 20:41:26 +000030
31#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
32#pragma GCC system_header
33#endif
34
Richard Smith523b1722015-10-09 00:26:50 +000035#include_next <setjmp.h>
36
Richard Smithf4677322015-10-08 20:41:26 +000037#ifndef setjmp
38#define setjmp(env) setjmp(env)
39#endif
40
41#endif // _LIBCPP_SETJMP_H