Commit c78804db authored by Simon Marlow's avatar Simon Marlow
Browse files

\#undef REG_R[1-10] as a precaution

parent 49092058
...@@ -19,6 +19,21 @@ ...@@ -19,6 +19,21 @@
* only in here please. * only in here please.
*/ */
/*
* Undefine these as a precaution: some of them were found to be
* defined by system headers on ARM/Linux.
*/
#undef REG_R1
#undef REG_R2
#undef REG_R3
#undef REG_R4
#undef REG_R5
#undef REG_R6
#undef REG_R7
#undef REG_R8
#undef REG_R9
#undef REG_R10
/* /*
* Defining MACHREGS_NO_REGS to 1 causes no global registers to be used. * Defining MACHREGS_NO_REGS to 1 causes no global registers to be used.
* MACHREGS_NO_REGS is typically controlled by NO_REGS, which is * MACHREGS_NO_REGS is typically controlled by NO_REGS, which is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment