Commit 46788c65 by Alexandre Oliva Committed by Alexandre Oliva

work-around system header namespace pollution

Including limits.h on vxworks pollutes the global namespace with SH
and many other platform names; work around it.


for  gcc/testsuite/ChangeLog

	* gcc.target/aarch64/vect-mull.x (SH): Undefine.
parent ae705159
2020-02-27 Alexandre Oliva <oliva@adacore.com>
* gcc.target/aarch64/vect-mull.x (SH): Undefine.
2020-02-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/93508
......
......@@ -9,6 +9,7 @@ typedef unsigned short *__restrict__ pRUINT16;
typedef unsigned int *__restrict__ pRUINT32;
typedef unsigned long long *__restrict__ pRUINT64;
#undef SH /* Including limits.h on vxworks defines this. */
typedef signed short SH;
typedef unsigned short UH;
typedef signed int SS;
......
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