[Ada] errno.c: remove obsolete support for MaRTE OS

2019-07-11  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* errno.c: Remove obsolete support for MaRTE OS.

From-SVN: r273396
This commit is contained in:
Arnaud Charlet 2019-07-11 08:02:40 +00:00 committed by Pierre-Marie de Rodat
parent 6ef13c4ff9
commit 9d80f43913
2 changed files with 6 additions and 13 deletions

View File

@ -1,3 +1,7 @@
2019-07-11 Arnaud Charlet <charlet@adacore.com>
* errno.c: Remove obsolete support for MaRTE OS.
2019-07-11 Ed Schonberg <schonberg@adacore.com>
* exp_ch4.adb (Expand_N_Type_Conversion): If a predicate check

View File

@ -35,21 +35,10 @@
as it may be defined using a macro.
*/
#ifndef _REENTRANT
#define _REENTRANT
#define _THREAD_SAFE
#ifdef MaRTE
/* MaRTE OS provides its own implementation of errno related functionality. We
want to ensure the use of the MaRTE version for tasking programs (the MaRTE
library will not be linked if no tasking constructs are used), so we use the
weak symbols mechanism to use the MaRTE version whenever is available. */
#pragma weak __get_errno
#pragma weak __set_errno
#endif
#define _THREAD_SAFE
#include <errno.h>
int