From f5480e4a7d3e32bb3df5855875db65deeefac3bc Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 20 Jun 1995 03:11:14 +0000 Subject: [PATCH] Use `defined' to test HAVE_STRING_H and STDC_HEADERS. --- regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex.c b/regex.c index e6d614524c..144c984e98 100644 --- a/regex.c +++ b/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)) -- 2.30.2