# HG changeset patch # User Richard M. Stallman # Date 803617874 0 # Node ID 444c5079cb2240ce33d40ce76fd4460aa09e736d # Parent 2e2af003b9c5823d78705d8dce65a8c0a1a4f7d9 Use `defined' to test HAVE_STRING_H and STDC_HEADERS. diff -r 2e2af003b9c5 -r 444c5079cb22 src/regex.c --- a/src/regex.c Tue Jun 20 02:56:43 1995 +0000 +++ b/src/regex.c Tue Jun 20 03:11:14 1995 +0000 @@ -76,7 +76,7 @@ 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))