Commit 1de83011 by Tristan Gingold Committed by Arnaud Charlet

re PR ada/64349 (Bootstrapping Ada fails on darwin(9|10).)

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
parent 2c6336be
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> 2015-01-30 Gary Dismukes <dismukes@adacore.com>
* freeze.adb: Minor reformatting. * freeze.adb: Minor reformatting.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* * * *
* C Implementation File * * 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 * * 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- * * terms of the GNU General Public License as published by the Free Soft- *
...@@ -30,15 +30,21 @@ ...@@ -30,15 +30,21 @@
****************************************************************************/ ****************************************************************************/
#ifdef IN_RTS #ifdef IN_RTS
#include "tconfig.h" # include "tconfig.h"
#include "tsystem.h" # include "tsystem.h"
#include <sys/stat.h> # include <sys/stat.h>
#include <fcntl.h> # include <fcntl.h>
#include <time.h> # include <time.h>
#ifdef VMS # ifdef VMS
#include <unixio.h> # include <unixio.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 */
#if defined (__MINGW32__) #if defined (__MINGW32__)
#include <stdlib.h> #include <stdlib.h>
...@@ -71,13 +77,6 @@ ...@@ -71,13 +77,6 @@
#endif #endif
#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 #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment