#ifdef _MSC_VER
#include <io.h>
#endif
-#ifdef __GNUWIN32__
+#if defined(__GNUWIN32__) && !defined(__TWIN32__)
#include <sys/unistd.h>
#endif
#if (defined(__WXGTK__) || defined(__WXMOTIF__)) && !defined(NO_CONFIGURE)
#include "lexer.c"
#else
+#if (defined(__MWERKS__))
+#include "../common/cwlex_yy.c"
+#else
#include "../common/lex_yy.c"
#endif
+#endif
/*
void yyerror(s)