re PR ada/64349 (Bootstrapping Ada fails on darwin(9|10).)
authorTristan Gingold <gingold@adacore.com>
Fri, 30 Jan 2015 15:13:15 +0000 (15:13 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 30 Jan 2015 15:13:15 +0000 (16:13 +0100)
2015-01-30  Tristan Gingold  <gingold@adacore.com>

PR ada/64349
* env.c: Move vxworks and darwin includes out of #ifdef IN_RTS.

From-SVN: r220285

gcc/ada/ChangeLog
gcc/ada/env.c

index 6a0dbd26f71808f54ae4874cb3bddff7e7d164b7..2f1b5322e935e8b12b7dd727097518e62f073b38 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-30  Tristan Gingold  <gingold@adacore.com>
+
+       PR ada/64349
+       * env.c: Move vxworks and darwin includes out of #ifdef IN_RTS.
+
 2015-01-30  Gary Dismukes  <dismukes@adacore.com>
 
        * freeze.adb: Minor reformatting.
index f8608bcd38c985394465b9681224fe29712b0e19..ebcbb6db5584a6b9d95ff90867d7cbd86a05de72 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *            Copyright (C) 2005-2014, Free Software Foundation, Inc.       *
+ *            Copyright (C) 2005-2015, Free Software Foundation, Inc.       *
  *                                                                          *
  * GNAT is free software;  you can  redistribute it  and/or modify it under *
  * terms of the  GNU General Public License as published  by the Free Soft- *
  ****************************************************************************/
 
 #ifdef IN_RTS
-#include "tconfig.h"
-#include "tsystem.h"
-
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <time.h>
-#ifdef VMS
-#include <unixio.h>
-#endif
+# include "tconfig.h"
+# include "tsystem.h"
+
+# include <sys/stat.h>
+# include <fcntl.h>
+# include <time.h>
+# ifdef VMS
+#  include <unixio.h>
+# endif
+/* We don't have libiberty, so use malloc.  */
+# define xmalloc(S) malloc (S)
+#else /* IN_RTS */
+# include "config.h"
+# include "system.h"
+#endif /* IN_RTS */
 
 #if defined (__MINGW32__)
 #include <stdlib.h>
   #endif
 #endif
 
-/* We don't have libiberty, so use malloc.  */
-#define xmalloc(S) malloc (S)
-#else /* IN_RTS */
-#include "config.h"
-#include "system.h"
-#endif /* IN_RTS */
-
 #ifdef __cplusplus
 extern "C" {
 #endif