aboutsummaryrefslogtreecommitdiff
path: root/ld/acconfig.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-07 18:43:48 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-07 18:43:48 +0000
commit2792727822834ebdde41d5559311ba0667740fa9 (patch)
treed251a255578b1a2bea8cfeff0c419d4ab9678b0e /ld/acconfig.h
parentf0bbf79aea89403d07798c118e640bb6e8f26c70 (diff)
downloadgdb-2792727822834ebdde41d5559311ba0667740fa9.zip
gdb-2792727822834ebdde41d5559311ba0667740fa9.tar.gz
gdb-2792727822834ebdde41d5559311ba0667740fa9.tar.bz2
Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. * ldmain.c (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
Diffstat (limited to 'ld/acconfig.h')
-rw-r--r--ld/acconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/acconfig.h b/ld/acconfig.h
index 75c00ff..7be9865 100644
--- a/ld/acconfig.h
+++ b/ld/acconfig.h
@@ -1,6 +1,12 @@
+/* Whether strstr must be declared even if <string.h> is included. */
+#undef NEED_DECLARATION_STRSTR
+
/* Whether free must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_FREE
+
+/* Whether sbrk must be declared even if <unistd.h> is included. */
+#undef NEED_DECLARATION_SBRK
@TOP@
/* Do we need to use the b modifier when opening binary files? */