aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/env.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-10-20 16:11:43 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-10-20 16:11:43 +0200
commita9bbfbd052c4a6572ec8c46149549e046f7e0ed1 (patch)
tree1abd647c917b89f192eaaf92c9bbddcb0d7eaadf /gcc/ada/env.c
parent8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d (diff)
downloadgcc-a9bbfbd052c4a6572ec8c46149549e046f7e0ed1.zip
gcc-a9bbfbd052c4a6572ec8c46149549e046f7e0ed1.tar.gz
gcc-a9bbfbd052c4a6572ec8c46149549e046f7e0ed1.tar.bz2
[multiple changes]
2014-10-20 Arnaud Charlet <charlet@adacore.com> * set_targ.adb (Write_Target_Dependent_Values, Write_Line): Fix calling C APIs with no trailing NUL char by calling better wrappers instead. 2014-10-20 Tristan Gingold <gingold@adacore.com> * gnat_ugn.texi: Document that gdb users must be in group _developer on mac os. 2014-10-20 Arnaud Charlet <charlet@adacore.com> * a-tgdico.ads: Fix typo. 2014-10-20 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Convert_To_Assignments): Do not create a transient scope for a component whose type requires it, if the context is an initialization procedure, because the target of the assignment must be visible outside of the block. 2014-10-20 Tristan Gingold <gingold@adacore.com> * tracebak.c: Define PC_ADJUST for arm-darwin. * env.c: Remove darwin specific code. * raise-gcc.c (__gnat_Unwind_ForcedUnwind): Error on arm-darwin. 2014-10-20 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Analyze_Full_Type_Declaration): If previous view is incomplete rather than private, and full type declaration has aspects, analyze aspects on the full view rather than the incomplete view, to prevent freezing anomalies with the class-wide type. From-SVN: r216470
Diffstat (limited to 'gcc/ada/env.c')
-rw-r--r--gcc/ada/env.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/ada/env.c b/gcc/ada/env.c
index de5e08a..95308130 100644
--- a/gcc/ada/env.c
+++ b/gcc/ada/env.c
@@ -76,10 +76,6 @@
extern "C" {
#endif
-#if defined (__APPLE__)
-#include <crt_externs.h>
-#endif
-
#ifdef VMS
#include <vms/descrip.h>
#endif
@@ -208,9 +204,6 @@ __gnat_environ (void)
#if defined (VMS) || defined (RTX)
/* Not implemented */
return NULL;
-#elif defined (__APPLE__)
- char ***result = _NSGetEnviron ();
- return *result;
#elif defined (__MINGW32__)
return _environ;
#elif defined (sun)