1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Daniel Stenberg 2000-08-02 07:16:57 +00:00
parent 1f32da93d7
commit fe4580eee1

View File

@ -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 "\\"