changeset 58032:9d4e23982c26

(HAVE_BZERO): Define for GCC v3.x and later.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 08 Nov 2004 13:01:50 +0000
parents 65d3c6f26162
children 59a51bcca326
files msdos/sed2v2.inp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/msdos/sed2v2.inp	Mon Nov 08 12:19:14 2004 +0000
+++ b/msdos/sed2v2.inp	Mon Nov 08 13:01:50 2004 +0000
@@ -84,6 +84,14 @@
 #else\
 #undef HAVE_STDINT_H\
 #endif
+# GCC 3.x has a built-in bzero, which conflicts with the define at
+# the end of config.in
+/^#undef HAVE_BZERO/c\
+#if __GNUC__ >= 3\
+#define HAVE_BZERO 1\
+#else\
+#undef HAVE_BZERO\
+#endif
 
 # Comment out any remaining undef directives, because some of them
 # might be defined in sys/config.h we include at the top of config.h.