summaryrefslogtreecommitdiff
path: root/msdos
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2004-11-08 13:01:50 +0000
committerEli Zaretskii <eliz@gnu.org>2004-11-08 13:01:50 +0000
commit8a1d28522142614f4d83a9605ef8803f2193509b (patch)
tree0769e387d4b9e821975e3aff1e9f137013cb4ccb /msdos
parent83dac217508af831b538175095999c86bf02d719 (diff)
downloademacs-8a1d28522142614f4d83a9605ef8803f2193509b.tar.gz
(HAVE_BZERO): Define for GCC v3.x and later.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/sed2v2.inp8
1 files changed, 8 insertions, 0 deletions
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp
index 4d77194cff0..31687bf0086 100644
--- a/msdos/sed2v2.inp
+++ b/msdos/sed2v2.inp
@@ -84,6 +84,14 @@ s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
#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.