Fix testsuite/g++.dg/opt/20050511-1.C compilation error on VxWorks 7

In VxWorks 7, UINT32 is defined in both modes, kernel and rtp.  Adjust
the work around accordingly.


for  gcc/testsuite/ChangeLog

	* g++.dg/opt/20050511-1.C: Work around UINT32 in vxworks rtp
	headers too.
This commit is contained in:
Jerome Lambourg 2020-12-31 21:37:59 -03:00 committed by Alexandre Oliva
parent 59cd72afce
commit 0bcaee87e8

View File

@ -5,7 +5,7 @@
#include <stdlib.h>
// The VxWorks kernel headers define their own UINT32
#if defined __vxworks && !defined __RTP__
#if defined __vxworks
#define UINT32 my_UINT32
#endif