summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Solaris.h
blob: 15adb7472c107a034ed1115dd686010a32f803fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*===- llvm/System/Solaris.h ------------------------------------*- C++ -*-===*
 *
 *                     The LLVM Compiler Infrastructure
 *
 * This file is distributed under the University of Illinois Open Source
 * License. See LICENSE.TXT for details.
 *
 *===----------------------------------------------------------------------===*
 *
 * This file contains portability fixes for Solaris hosts.
 *
 *===----------------------------------------------------------------------===*/

#ifndef LLVM_SYSTEM_SOLARIS_H
#define LLVM_SYSTEM_SOLARIS_H

#include <sys/types.h>
#include <sys/regset.h>

#undef CS
#undef DS
#undef ES
#undef FS
#undef GS
#undef SS
#undef EAX
#undef ECX
#undef EDX
#undef EBX
#undef ESP
#undef EBP
#undef ESI
#undef EDI
#undef EIP
#undef UESP
#undef EFL
#undef ERR
#undef TRAPNO

#endif