Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / sources / cxx-stl / llvm-libc++ / libcxx / include / csetjmp
blobd0b2c078967dfb792af7fba5c4d88cdcfd73c9fd
1 // -*- C++ -*-
2 //===--------------------------- csetjmp ----------------------------------===//
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 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_CSETJMP
12 #define _LIBCPP_CSETJMP
15     csetjmp synopsis
17 Macros:
19     setjmp
21 namespace std
24 Types:
26     jmp_buf
28 void longjmp(jmp_buf env, int val);
30 }  // std
34 #include <__config>
35 #include <setjmp.h>
37 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
38 #pragma GCC system_header
39 #endif
41 #ifndef setjmp
42 #define setjmp(env) setjmp(env)
43 #endif
45 _LIBCPP_BEGIN_NAMESPACE_STD
47 using ::jmp_buf;
48 using ::longjmp;
50 _LIBCPP_END_NAMESPACE_STD
52 #endif  // _LIBCPP_CSETJMP