Only define the string prototypes in ANSI mode to reduce interference on

systems that prototype them slightly differently.
This commit is contained in:
Dan Fandrich 2006-08-09 16:36:17 +00:00
parent 0b633027cb
commit 4272af801f
1 changed files with 1 additions and 1 deletions

View File

@ -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);