#include <assert.h>
#include <errno.h>
#include <string.h>
-#include <strings.h>
#include <stdbool.h>
#include <ctype.h>
+#ifndef _WIN32
+#include <strings.h>
+#endif
+
//#define DEBUG_CHARS
#define MAX_PUTBACK 3
#define BUF_SIZE 1024
#if defined(_WIN32) || defined(__CYGWIN__)
/* No strtold on windows and no replacement yet */
-#define strtold(s, e) strtod(s, e)
+#define strtold(s, e) strtod(s, e)
+#define strcasecmp(a, b) stricmp(a, b)
#endif
typedef unsigned int utf32;