From fe4580eee159999412946bf079d7b51a699386e4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 2 Aug 2000 07:16:57 +0000 Subject: moved the #define strequal() since they're now true functions in libcurl --- src/setup.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/setup.h b/src/setup.h index 55ea7074f..6a71bd28c 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 "\\" -- cgit v1.2.3