Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: third_party/libcxx/include/csetjmp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 //===----------------------------------------------------------------------===//
10
11 #ifndef _LIBCPP_CSETJMP
12 #define _LIBCPP_CSETJMP
13
14 /*
15 csetjmp synopsis
16
17 Macros:
18
19 setjmp
20
21 namespace std
22 {
23
24 Types:
25
26 jmp_buf
27
28 void longjmp(jmp_buf env, int val);
29
30 } // std
31
32 */
33
34 #include <__config>
35 #include <setjmp.h>
36
37 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
38 #pragma GCC system_header
39 #endif
40
41 #ifndef setjmp
42 #define setjmp(env) setjmp(env)
43 #endif
44
45 _LIBCPP_BEGIN_NAMESPACE_STD
46
47 using ::jmp_buf;
48 using ::longjmp;
49
50 _LIBCPP_END_NAMESPACE_STD
51
52 #endif // _LIBCPP_CSETJMP
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698