Mercurial > hg > octave-nkf > gnulib-hg
changeset 460:ea133fff5811
Use `defined' to test HAVE_STRING_H and STDC_HEADERS.
author | Richard Stallman <rms@gnu.org> |
---|---|
date | Tue, 20 Jun 1995 03:11:14 +0000 |
parents | 8fda32c6bf03 |
children | 5e68a303679e |
files | regex.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/regex.c +++ b/regex.c @@ -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))