#ifdef _MSC_VER
#include <io.h>
#endif
+#if defined(__GNUWIN32__) && !defined(__TWIN32__)
+#include <sys/unistd.h>
+#endif
#include "wx/expr.h"
%%
-#ifdef __WXGTK__
+#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)
#ifndef yywrap
#define yywrap() 1
#endif
-#else if !defined(__alpha) && !defined(__ultrix)
+#else if !defined(__alpha___) && !defined(__ultrix)
int yywrap() { return 1; }
#endif
#endif