diff options
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r-- | gcc/ada/sysdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index 608246e2530..13a11cc827a 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -34,8 +34,10 @@ #ifdef __vxworks #include "ioLib.h" +#if ! defined (__VXWORKSMILS__) #include "dosFsLib.h" -#if ! defined ( __RTP__) && ! defined (VTHREADS) +#endif +#if ! defined (__RTP__) && ! defined (VTHREADS) # include "nfsLib.h" #endif #include "selectLib.h" @@ -985,7 +987,9 @@ __gnat_is_file_not_found_error (int errno_val) { /* In the case of VxWorks, we also have to take into account various * filesystem-specific variants of this error. */ +#if ! defined (__VXWORKSMILS__) case S_dosFsLib_FILE_NOT_FOUND: +#endif #if ! defined (__RTP__) && ! defined (VTHREADS) case S_nfsLib_NFSERR_NOENT: #endif |