diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-18 11:29:54 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-18 11:29:54 +0200 |
commit | 6907542db49aa9d73dcfe4a991bac455b1818953 (patch) | |
tree | f9b4e0397263795900a2a5e40576976a075bf65b /gcc/ada/adaint.c | |
parent | 3f433bc07ebc9821a4edeea9ecfa3ea94b0b00d1 (diff) | |
download | gcc-6907542db49aa9d73dcfe4a991bac455b1818953.zip gcc-6907542db49aa9d73dcfe4a991bac455b1818953.tar.gz gcc-6907542db49aa9d73dcfe4a991bac455b1818953.tar.bz2 |
[multiple changes]
2014-07-18 Ed Schonberg <schonberg@adacore.com>
* sem_ch4.adb (Try_Container_Indexing): Refine previous patch for
indexing over containers that are derived types: check whether
signature of found operation has the correct first parameter
before retrieving directly a primitive operation.
2014-07-18 Ed Schonberg <schonberg@adacore.com>
* sem_attr.adb (Analyze_Attribute, case 'Update): Set
Do_Range_Check flag on dynamic bounds of a range used in a
component association in the argument of Update.
2014-07-18 Thomas Quinot <quinot@adacore.com>
* adaint.c: #define _REENTRANT and _THREAD_SAFE in order for
accesses to errno(3) to be thread safe.
2014-07-18 Vincent Celier <celier@adacore.com>
* prj-tree.adb (Imported_Or_Extended_Project_Of): For each non
limited imported project that is an extending project, return
a project being extended if it has the expected name.
2014-07-18 Pascal Obry <obry@adacore.com>
* s-os_lib.ads, s-os_lib.adb (Set_File_Last_Modify_Time_Stamp): New
routine to set the last modification time stamp for the given file.
* gnatchop.adb (File_Time_Stamp): Removed.
(Write_Unit): Use
Set_File_Last_Modify_Time_Stamp instead of ad-hoc implementation.
From-SVN: r212787
Diffstat (limited to 'gcc/ada/adaint.c')
-rw-r--r-- | gcc/ada/adaint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index a3829f7..607ba82 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -34,6 +34,10 @@ package Osint. Many of the subprograms in OS_Lib import standard library calls directly. This file contains all other routines. */ +/* Ensure accesses to errno are thread safe. */ +#define _REENTRANT +#define _THREAD_SAFE + #ifdef __vxworks /* No need to redefine exit here. */ |