Skip to content

Commit 0bcaee8

Browse files
lambourgAlexandre Oliva
authored andcommitted
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.
1 parent 59cd72a commit 0bcaee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/testsuite/g++.dg/opt/20050511-1.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <stdlib.h>
66

77
// The VxWorks kernel headers define their own UINT32
8-
#if defined __vxworks && !defined __RTP__
8+
#if defined __vxworks
99
#define UINT32 my_UINT32
1010
#endif
1111

0 commit comments

Comments
 (0)