]> git.eshelyaron.com Git - emacs.git/commitdiff
(HAVE_BZERO): Define for GCC v3.x and later.
authorEli Zaretskii <eliz@gnu.org>
Mon, 8 Nov 2004 13:01:50 +0000 (13:01 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 8 Nov 2004 13:01:50 +0000 (13:01 +0000)
msdos/sed2v2.inp

index 4d77194cff05bea241510fcaa5273436fc86c870..31687bf0086eb5904123af44a8ec6970eae99ae8 100644 (file)
@@ -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.