From 3d92367153068c7889944f3187462bbc590caa9d Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Mon, 25 Jan 2010 17:24:20 +0100 Subject: [multiple changes] 2010-01-25 Bob Duff * sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this is an internally-generated positional aggregate, and the bounds are already correctly set. We don't want to overwrite those bounds with bounds determined by context. 2010-01-25 Robert Dewar * g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb, exp_ch9.adb, g-sechas.ads: Minor reformatting. 2010-01-25 Thomas Quinot * s-commun.adb (Last_Index): Count must be converted to SEO (a signed integer type) before subtracting 1, otherwise the computation may wrap (because size_t is modular) and cause the conversion to fail. 2010-01-25 Ed Falis * sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS. 2010-01-25 Vincent Celier * prj-attr.adb: New attribute Run_Path_Origin_Required * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new attribute Run_Path_Origin_Required. * prj.ads (Project_Configuration): New component Run_Path_Origin_Supported. * snames.ads-tmpl: New standard name Run_Path_Origin_Required From-SVN: r156215 --- gcc/ada/sysdep.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/ada/sysdep.c') diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index 608246e..13a11cc 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 -- cgit v1.1