aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-02 07:16:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-02 07:16:57 +0000
commitfe4580eee159999412946bf079d7b51a699386e4 (patch)
tree800423b2e195a910eb7400252fe9ea4765caa455 /src
parent1f32da93d7bbe7b7ec99ad565ea8c3c5c6c2a632 (diff)
downloadgnurl-fe4580eee159999412946bf079d7b51a699386e4.tar.gz
gnurl-fe4580eee159999412946bf079d7b51a699386e4.tar.bz2
gnurl-fe4580eee159999412946bf079d7b51a699386e4.zip
moved the #define strequal() since they're now true functions in libcurl
Diffstat (limited to 'src')
-rw-r--r--src/setup.h12
1 files changed, 0 insertions, 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 "\\"