btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / libs / libc++ / setjmp.h
blob464b4a54089720788cb0e7b11229a9afa595eed1
1 // -*- 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 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_SETJMP_H
12 #define _LIBCPP_SETJMP_H
15 setjmp.h synopsis
17 Macros:
19 setjmp
21 Types:
23 jmp_buf
25 void longjmp(jmp_buf env, int val);
29 #include <__config>
31 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
32 #pragma GCC system_header
33 #endif
35 #include_next <setjmp.h>
37 #ifdef __cplusplus
39 #ifndef setjmp
40 #define setjmp(env) setjmp(env)
41 #endif
43 #endif // __cplusplus
45 #endif // _LIBCPP_SETJMP_H