]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
wxString::Right() changed to AfterLast() (config works again)
[wxWidgets.git] / src / common / parser.y
index c834a77e534a10a844d3c956d817e87ac8c2b3f5..16b9b2c33facc96a61476206c80170fc3357c489 100644 (file)
@@ -3,7 +3,7 @@
 #ifdef _MSC_VER
 #include <io.h>
 #endif
-#ifdef __GNUWIN32__
+#if defined(__GNUWIN32__) && !defined(__TWIN32__)
 #include <sys/unistd.h>
 #endif
 
@@ -127,8 +127,12 @@ arg1       :       WORD
 #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)