Solaris.h revision 1f6efa3996dd1929fbc129203ce5009b620e6969
1/*===- llvm/System/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_SYSTEM_SOLARIS_H
15#define LLVM_SYSTEM_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
41