From e3e72ac561e84749fb9602ce5cdf439459976b74 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 14 Feb 1997 01:36:24 +0000 Subject: 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. --- ld/acconfig.h | 3 +++ 1 file changed, 3 insertions(+) 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? */ -- cgit v1.1