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:
parent
59cd72afce
commit
0bcaee87e8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user