gen-oscons.c: Adapt for VMS where termios.h is not available.
authorVasiliy Fofanov <fofanov@adacore.com>
Tue, 5 Aug 2008 09:14:13 +0000 (11:14 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 09:14:13 +0000 (11:14 +0200)
2008-08-05  Vasiliy Fofanov  <fofanov@adacore.com>

* gen-oscons.c: Adapt for VMS where termios.h is not available.

From-SVN: r138682

gcc/ada/gen-oscons.c

index 429e949..594964b 100644 (file)
@@ -46,7 +46,7 @@
 #include <limits.h>
 #include <fcntl.h>
 
-#ifndef __vxworks
+#if !defined (__vxworks) && !defined (__VMS)
 # include <termios.h>
 #endif
 
@@ -193,7 +193,7 @@ _NL
 #endif
 CND(FNDELAY, "Nonblocking")
 
-#if !defined(__vxworks)
+#if !defined(__vxworks) && !defined(__VMS)
 
 _NL
 TXT("   ----------------------")
@@ -507,7 +507,7 @@ CND(VLNEXT, "Literal next")
 #endif
 CND(VEOL2, "Alternative EOL")
 
-#endif /* !defined(__vxworks) */
+#endif /* !defined(__vxworks) && !defined(__VMS) */
 
 _NL
 TXT("   --------------")