summaryrefslogtreecommitdiffstats
path: root/gcc/acconfig.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-03 06:52:00 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-03 06:52:00 +0000
commit259a120e2ed841f4806427ef156d99cf3646d9e7 (patch)
tree9e61a0b27315e42bdf092bca252dacbc8c333d21 /gcc/acconfig.h
parent016523bb897c93ae63ac79d635c718f48f585353 (diff)
downloadppe42-gcc-259a120e2ed841f4806427ef156d99cf3646d9e7.tar.gz
ppe42-gcc-259a120e2ed841f4806427ef156d99cf3646d9e7.zip
* aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
safe to include both string.h and strings.h together. (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding which headers to search for function declarations. Continue to prefer string.h over strings.h when both are not acceptable. * acconfig.h (STRING_WITH_STRINGS): Add stub. * configure.in: Call GCC_HEADER_STRING. * system.h: Test STRING_WITH_STRINGS when deciding which headers to include. Continue to prefer string.h over strings.h when both are not acceptable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r--gcc/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h
index e1ac38442f0..4aac693381a 100644
--- a/gcc/acconfig.h
+++ b/gcc/acconfig.h
@@ -1,3 +1,6 @@
+/* Define if you can safely include both <string.h> and <strings.h>. */
+#undef STRING_WITH_STRINGS
+
/* Define if printf supports "%p". */
#undef HAVE_PRINTF_PTR
OpenPOWER on IntegriCloud