aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-14 01:36:24 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-14 01:36:24 +0000
commite3e72ac561e84749fb9602ce5cdf439459976b74 (patch)
tree06c7c2e9b0cf28642c97463473ae9a7c88780440 /ld
parentf2566b61148c2ed3d067f4882884e39242039774 (diff)
downloadgdb-e3e72ac561e84749fb9602ce5cdf439459976b74.zip
gdb-e3e72ac561e84749fb9602ce5cdf439459976b74.tar.gz
gdb-e3e72ac561e84749fb9602ce5cdf439459976b74.tar.bz2
Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on getenv. * acconfig.h (NEED_DECLARATION_GETENV): New macro. * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. * ldemul.c (ld_emul_default_target): Do not cast getenv return value. * ldmain.c (get_emulation): Likewise. * configure, config.in: Rebuild.
Diffstat (limited to 'ld')
-rw-r--r--ld/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/acconfig.h b/ld/acconfig.h
index 7be9865..6034cad 100644
--- a/ld/acconfig.h
+++ b/ld/acconfig.h
@@ -7,6 +7,9 @@
/* Whether sbrk must be declared even if <unistd.h> is included. */
#undef NEED_DECLARATION_SBRK
+
+/* Whether getenv must be declared even if <stdlib.h> is included. */
+#undef NEED_DECLARATION_GETENV
@TOP@
/* Do we need to use the b modifier when opening binary files? */