From: Ian Lance Taylor Date: Fri, 14 Feb 1997 01:36:24 +0000 (+0000) Subject: Thu Feb 13 20:31:37 1997 Philippe De Muyter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3e72ac561e84749fb9602ce5cdf439459976b74;p=binutils-gdb.git Thu Feb 13 20:31:37 1997 Philippe De Muyter * 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. --- diff --git a/ld/acconfig.h b/ld/acconfig.h index 7be98654f56..6034cadef81 100644 --- a/ld/acconfig.h +++ b/ld/acconfig.h @@ -7,6 +7,9 @@ /* Whether sbrk must be declared even if is included. */ #undef NEED_DECLARATION_SBRK + +/* Whether getenv must be declared even if is included. */ +#undef NEED_DECLARATION_GETENV @TOP@ /* Do we need to use the b modifier when opening binary files? */