mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
e7f14dfdb8
from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' llvm-svn: 120314
41 lines
811 B
C++
41 lines
811 B
C++
/*===- llvm/Support/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
|