aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/errno.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2004-02-09 11:44:13 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-02-09 11:44:13 +0100
commita41ea816240813af6963fd45e97b2063e4335803 (patch)
treea7fdab111d66cef67c5aaf972703425f9ebca4e9 /gcc/ada/errno.c
parent8bd928214aa1b068dce6901f867351a1846d81a2 (diff)
downloadgcc-a41ea816240813af6963fd45e97b2063e4335803.zip
gcc-a41ea816240813af6963fd45e97b2063e4335803.tar.gz
gcc-a41ea816240813af6963fd45e97b2063e4335803.tar.bz2
[multiple changes]
2004-02-09 Albert Lee <lee@gnat.com> * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX 2004-02-09 Ed Schonberg <schonberg@gnat.com> * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null slices. * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram is nested in an instance that is not frozen yet, to avoid order-of-elaboration problems in gigi. * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined body the attribute is legal. 2004-02-09 Robert Dewar <dewar@gnat.com> * s-rident.ads: Minor comment correction * targparm.adb: Remove dependence on uintp completely. There was always a bug in Make in that it called Targparm before initializing the Uint package. The old code appeared to get away with this, but the new code did not! This caused an assertion error in gnatmake. * targparm.ads: Fix bad comment, restriction pragmas with parameters are indeed fully supported. From-SVN: r77531
Diffstat (limited to 'gcc/ada/errno.c')
-rw-r--r--gcc/ada/errno.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/errno.c b/gcc/ada/errno.c
index fc6964b..ef69fd0 100644
--- a/gcc/ada/errno.c
+++ b/gcc/ada/errno.c
@@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
- * Copyright (C) 1992-2003 Free Software Foundation, Inc. *
+ * Copyright (C) 1992-2004 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- *
@@ -39,6 +39,7 @@
#define _REENTRANT
#define _THREAD_SAFE
+#define _SGI_MP_SOURCE
#include <errno.h>
int