aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-20 03:11:14 +0000
committerRichard M. Stallman1995-06-20 03:11:14 +0000
commit7f998252d6641d09f7d83e979c972fea9e52f820 (patch)
tree4e893413f0a5bdb98864f0a526b83c7f42158abd /src
parentee526b55523e49d76e8f9a420217bb466dd1ffbd (diff)
downloademacs-7f998252d6641d09f7d83e979c972fea9e52f820.tar.gz
emacs-7f998252d6641d09f7d83e979c972fea9e52f820.zip
Use `defined' to test HAVE_STRING_H and STDC_HEADERS.
Diffstat (limited to 'src')
-rw-r--r--src/regex.c2
1 files changed, 1 insertions, 1 deletions
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 ();
76 This is used in most programs--a few other programs avoid this 76 This is used in most programs--a few other programs avoid this
77 by defining INHIBIT_STRING_HEADER. */ 77 by defining INHIBIT_STRING_HEADER. */
78#ifndef INHIBIT_STRING_HEADER 78#ifndef INHIBIT_STRING_HEADER
79#if HAVE_STRING_H || STDC_HEADERS || defined (_LIBC) 79#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC)
80#include <string.h> 80#include <string.h>
81#ifndef bcmp 81#ifndef bcmp
82#define bcmp(s1, s2, n) memcmp ((s1), (s2), (n)) 82#define bcmp(s1, s2, n) memcmp ((s1), (s2), (n))