projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59cd72a
)
Fix testsuite/g++.dg/opt/20050511-1.C compilation error on VxWorks 7
author
Jerome Lambourg
<lambourg@adacore.com>
Fri, 1 Jan 2021 00:37:59 +0000
(21:37 -0300)
committer
Alexandre Oliva
<oliva@gnu.org>
Fri, 1 Jan 2021 05:05:57 +0000
(
02:05
-0300)
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.
gcc/testsuite/g++.dg/opt/20050511-1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/opt/20050511-1.C
b/gcc/testsuite/g++.dg/opt/20050511-1.C
index a840fb0db8e380d3e6df1799cb86132ba5362782..7041a48200175eba6df9dc8d1e7aea6c591d429d 100644
(file)
--- a/
gcc/testsuite/g++.dg/opt/20050511-1.C
+++ b/
gcc/testsuite/g++.dg/opt/20050511-1.C
@@
-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