]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/include/llvm/Support/Solaris/sys/regset.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / include / llvm / Support / Solaris / sys / regset.h
1 /*===- llvm/Support/Solaris/sys/regset.h ------------------------*- C++ -*-===*
2  *
3  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4  * See https://llvm.org/LICENSE.txt for license information.
5  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6  *
7  *===----------------------------------------------------------------------===*
8  *
9  * This file works around excessive name space pollution from the system header
10  * on Solaris hosts.
11  *
12  *===----------------------------------------------------------------------===*/
13
14 #ifndef LLVM_SUPPORT_SOLARIS_SYS_REGSET_H
15
16 #include_next <sys/regset.h>
17
18 #undef CS
19 #undef DS
20 #undef ES
21 #undef FS
22 #undef GS
23 #undef SS
24 #undef EAX
25 #undef ECX
26 #undef EDX
27 #undef EBX
28 #undef ESP
29 #undef EBP
30 #undef ESI
31 #undef EDI
32 #undef EIP
33 #undef UESP
34 #undef EFL
35 #undef ERR
36 #undef TRAPNO
37
38 #endif