From 4272af801fab5f58abcaaa61ae7ce75a90929fb5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 9 Aug 2006 16:36:17 +0000 Subject: Only define the string prototypes in ANSI mode to reduce interference on systems that prototype them slightly differently. --- lib/strequal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/strequal.c b/lib/strequal.c index f993e382a..34f95fd90 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -28,7 +28,7 @@ #include "strequal.h" -#ifdef HAVE_STRCASECMP +#if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__) /* this is for "-ansi -Wall -pedantic" to stop complaining! */ extern int (strcasecmp)(const char *s1, const char *s2); extern int (strncasecmp)(const char *s1, const char *s2, size_t n); -- cgit v1.2.1