diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/compat.h b/compat.h deleted file mode 100644 index c17c8fb..0000000 --- a/compat.h +++ /dev/null @@ -1,17 +0,0 @@ -#if 1 -#include <strings.h> -#include <string.h> -#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 <sys/stat.h> -#include <sys/types.h> -int xmkdir(const char *path, mode_t mode); |