Commit 4272af80 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

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

systems that prototype them slightly differently.
parent 0b633027
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);