From: Richard M. Stallman Date: Tue, 20 Jun 1995 03:11:14 +0000 (+0000) Subject: Use `defined' to test HAVE_STRING_H and STDC_HEADERS. X-Git-Tag: emacs-19.34~3528 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f998252d6641d09f7d83e979c972fea9e52f820;p=emacs.git Use `defined' to test HAVE_STRING_H and STDC_HEADERS. --- diff --git a/src/regex.c b/src/regex.c index e6d614524c9..144c984e98c 100644 --- a/src/regex.c +++ b/src/regex.c @@ -76,7 +76,7 @@ char *realloc (); This is used in most programs--a few other programs avoid this by defining INHIBIT_STRING_HEADER. */ #ifndef INHIBIT_STRING_HEADER -#if HAVE_STRING_H || STDC_HEADERS || defined (_LIBC) +#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC) #include #ifndef bcmp #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n))