moved the #define strequal() since they're now true functions in libcurl
This commit is contained in:
parent
1f32da93d7
commit
fe4580eee1
12
src/setup.h
12
src/setup.h
@ -61,22 +61,10 @@
|
|||||||
#define OS "unknown"
|
#define OS "unknown"
|
||||||
#endif
|
#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! */
|
#ifndef fileno /* sunos 4 have this as a macro! */
|
||||||
int fileno( FILE *stream);
|
int fileno( FILE *stream);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
|
||||||
#define strnequal(x,y,z) !strnicmp(x,y,z)
|
|
||||||
#define strequal(x,y) !stricmp(x,y)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define PATH_CHAR ";"
|
#define PATH_CHAR ";"
|
||||||
#define DIR_CHAR "\\"
|
#define DIR_CHAR "\\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user