Skip to content
Snippets Groups Projects
Commit fe4580ee authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

moved the #define strequal() since they're now true functions in libcurl

parent 1f32da93
No related branches found
No related tags found
No related merge requests found
......@@ -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 "\\"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment