6228c4b43b52566a0dea39ddff5f926fa9187f12
[oota-llvm.git] / include / llvm / Support / Solaris.h
1 /*===- llvm/Support/Solaris.h ------------------------------------*- C++ -*-===*
2  *
3  *                     The LLVM Compiler Infrastructure
4  *
5  * This file is distributed under the University of Illinois Open Source
6  * License. See LICENSE.TXT for details.
7  *
8  *===----------------------------------------------------------------------===*
9  *
10  * This file contains portability fixes for Solaris hosts.
11  *
12  *===----------------------------------------------------------------------===*/
13
14 #ifndef LLVM_SUPPORT_SOLARIS_H
15 #define LLVM_SUPPORT_SOLARIS_H
16
17 #include <sys/types.h>
18 #include <sys/regset.h>
19
20 #undef CS
21 #undef DS
22 #undef ES
23 #undef FS
24 #undef GS
25 #undef SS
26 #undef EAX
27 #undef ECX
28 #undef EDX
29 #undef EBX
30 #undef ESP
31 #undef EBP
32 #undef ESI
33 #undef EDI
34 #undef EIP
35 #undef UESP
36 #undef EFL
37 #undef ERR
38 #undef TRAPNO
39
40 #endif