summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/system.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecbd2f951e0..d8ef83d524d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h (__NO_STRING_INLINES): Define.
+
2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
diff --git a/gcc/system.h b/gcc/system.h
index 0e5b3c65894..27f6f411a10 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -112,6 +112,10 @@ extern int fprintf_unlocked PARAMS ((FILE *, const char *, ...));
extern int errno;
#endif
+/* Some of glibc's string inlines cause warnings. Plus we'd rather
+ rely on (and therefore test) GCC's string builtins. */
+#define __NO_STRING_INLINES
+
#ifdef STRING_WITH_STRINGS
# include <string.h>
# include <strings.h>