]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
moved the #define strequal() since they're now true functions in libcurl
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2000 07:16:57 +0000 (07:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2000 07:16:57 +0000 (07:16 +0000)
src/setup.h

index 55ea7074f7e13ca0ac5036dc95454f573bf59c0e..6a71bd28c1cedb2c801349cb436cf6afdd02c1e1 100644 (file)
 #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      "\\"