From: Daniel Stenberg Date: Wed, 2 Aug 2000 07:16:57 +0000 (+0000) Subject: moved the #define strequal() since they're now true functions in libcurl X-Git-Tag: curl-7_1_1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe4580eee159999412946bf079d7b51a699386e4;p=thirdparty%2Fcurl.git moved the #define strequal() since they're now true functions in libcurl --- diff --git a/src/setup.h b/src/setup.h index 55ea7074f7..6a71bd28c1 100644 --- a/src/setup.h +++ b/src/setup.h @@ -61,22 +61,10 @@ #define OS "unknown" #endif -#ifdef HAVE_STRCASECMP -#define strnequal(x,y,z) !(strncasecmp)(x,y,z) -#define strequal(x,y) !(strcasecmp)(x,y) - -/* 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); #ifndef fileno /* sunos 4 have this as a macro! */ int fileno( FILE *stream); #endif -#else -#define strnequal(x,y,z) !strnicmp(x,y,z) -#define strequal(x,y) !stricmp(x,y) -#endif - #ifdef WIN32 #define PATH_CHAR ";" #define DIR_CHAR "\\"