summaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index de9b34b0ffb..ad8023594ef 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1730,7 +1730,7 @@ __gnat_inum_to_ivec (int num)
}
#endif
-#if !defined(__alpha_vxworks) && (_WRS_VXWORKS_MAJOR != 6) && !defined(__RTP__)
+#if !defined(__alpha_vxworks) && ((_WRS_VXWORKS_MAJOR != 6) && (_WRS_VXWORKS_MAJOR != 7)) && !defined(__RTP__)
/* getpid is used by s-parint.adb, but is not defined by VxWorks, except
on Alpha VxWorks and VxWorks 6.x (including RTPs). */