--- wv/wv.h.glibc22 Fri Jun 9 09:04:02 2000 +++ wv/wv.h Fri Jun 9 09:14:51 2000 @@ -8,7 +8,9 @@ #ifdef WIN32 #define strcasecmp(s1,s2) stricmp(s1,s2) #else +#if !defined(__GLIBC__) || (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2) int strcasecmp(const char *s1, const char *s2); +#endif #endif int getopt(int argc, char * const argv[], const char *optstring); --- wv/strcasecmp.c.glibc22 Fri Jun 9 09:13:12 2000 +++ wv/strcasecmp.c Fri Jun 9 09:14:30 2000 @@ -1,3 +1,4 @@ +#if !defined(__GLIBC__) || (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2) #include #include @@ -11,3 +12,4 @@ return(1); return(0); } +#endif