summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 08:53:42 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 08:53:42 +0000
commitec5586d6ef4f06ea15c77d67dc8eeb5b4cb0fde1 (patch)
tree0e2caf14b9d1bdaf5d254a48e51285400f309f5e /gcc/testsuite/gcc.dg/cpp
parentc6a9abbf5e03a6c024f9583f600b51fd5e50bb8e (diff)
downloadgcc-ec5586d6ef4f06ea15c77d67dc8eeb5b4cb0fde1.tar.gz
gcc/testsuite/
* gcc.dg/cpp/assert4.c: Treat VxWorks as a unix target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/assert4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/assert4.c b/gcc/testsuite/gcc.dg/cpp/assert4.c
index 99b1f5e509a..6704f6ddc9c 100644
--- a/gcc/testsuite/gcc.dg/cpp/assert4.c
+++ b/gcc/testsuite/gcc.dg/cpp/assert4.c
@@ -78,7 +78,8 @@
# error
#endif
-#if ( defined __unix__ && !defined __CYGWIN__ ) || defined _AIX
+#if ( defined __unix__ && !defined __CYGWIN__ ) || defined _AIX \
+ || defined __vxworks
# if !#system(unix)
# error
# endif