mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Revert "[X86MCTargetDesc.h] Speculative fix for macro collision with sys/param.h"
This reverts commit eee22ec3c3712a1089cbdbe66ccf36dd89be507a. This is not the correct fix, the root cause seems to be a bug in the stage1 host clang compiler. See https://reviews.llvm.org/D75091 for more discussion.
This commit is contained in:
parent
f6b2bf396a
commit
224bca4498
@ -125,10 +125,6 @@ MCRegister getX86SubSuperRegisterOrZero(MCRegister, unsigned,
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
// Some Unix systems define an FSCALE macro in sys/param.h. This macro somehow
|
||||
// gets pulled into this header when -fmodules is enabled, preventing us from
|
||||
// textually including X86GenInstrInfo.inc.
|
||||
#undef FSCALE
|
||||
|
||||
// Defines symbolic names for X86 registers. This defines a mapping from
|
||||
// register name to register number.
|
||||
|
Loading…
Reference in New Issue
Block a user