#if 1 #include #include #define xstrcasecmp strcasecmp #define xstrncasecmp strncasecmp #else int xstrcasecmp(const char *s1, const char *s2); int xstrncasecmp(const char *s1, const char *s2, size_t len); #endif /* non-ansi */ void * xstrdup(const char *s); /* for mingw */ #include #include int xmkdir(const char *path, mode_t mode);