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-Tag: gdb-4_18~6462 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3e72ac561e84749fb9602ce5cdf439459976b74;p=platform%2Fupstream%2Fbinutils.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 7be9865..6034cad 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? */