changeset 12331:444c5079cb22

Use `defined' to test HAVE_STRING_H and STDC_HEADERS.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Jun 1995 03:11:14 +0000
parents 2e2af003b9c5
children 443ebb2a278a
files src/regex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <string.h>
 #ifndef bcmp
 #define bcmp(s1, s2, n)	memcmp ((s1), (s2), (n))