diff options
| author | Eli Zaretskii | 2004-11-08 13:01:50 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-11-08 13:01:50 +0000 |
| commit | cc9308341d964a1db5bcd3462885e482ea1676e2 (patch) | |
| tree | 6ed3092e2dbabf5c18d0afa4c9f1ed17bc3116f7 /msdos | |
| parent | 20320c65167b630a73ab433bc8800ad8999f189c (diff) | |
| download | emacs-cc9308341d964a1db5bcd3462885e482ea1676e2.tar.gz emacs-cc9308341d964a1db5bcd3462885e482ea1676e2.zip | |
(HAVE_BZERO): Define for GCC v3.x and later.
Diffstat (limited to 'msdos')
| -rw-r--r-- | msdos/sed2v2.inp | 8 |
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/ | |||
| 84 | #else\ | 84 | #else\ |
| 85 | #undef HAVE_STDINT_H\ | 85 | #undef HAVE_STDINT_H\ |
| 86 | #endif | 86 | #endif |
| 87 | # GCC 3.x has a built-in bzero, which conflicts with the define at | ||
| 88 | # the end of config.in | ||
| 89 | /^#undef HAVE_BZERO/c\ | ||
| 90 | #if __GNUC__ >= 3\ | ||
| 91 | #define HAVE_BZERO 1\ | ||
| 92 | #else\ | ||
| 93 | #undef HAVE_BZERO\ | ||
| 94 | #endif | ||
| 87 | 95 | ||
| 88 | # Comment out any remaining undef directives, because some of them | 96 | # Comment out any remaining undef directives, because some of them |
| 89 | # might be defined in sys/config.h we include at the top of config.h. | 97 | # might be defined in sys/config.h we include at the top of config.h. |