]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
Various compile fixes.
[wxWidgets.git] / src / common / parser.y
index c9160bffa6f06562bb2ffc1f8d00175067c77af3..a5dcdf37a78a6d8db1859d1a83fae19465b62cc5 100644 (file)
@@ -1,3 +1,4 @@
+/* Version: $Id$ */
  %{
 #include "wx/setup.h"
 #include <string.h>
@@ -123,13 +124,13 @@ arg1      :       WORD
  * for example, cross compilation. */
 #if (defined(__WXGTK__) || defined(__WXWINE__) || defined(__WXMOTIF__)) || defined(__WX_SETUP_H__) && !defined(NO_CONFIGURE)
 #include "lexer.c"
-#else
-#if (defined(__MWERKS__))
+#elif defined(__WXMAC__) && defined(__APPLE__)
+#include "lexer.c"
+#elif defined(__MWERKS__)
 #include "../common/cwlex_yy.c"
 #else
 #include "../common/lex_yy.c"
 #endif
-#endif
 
 /*
 void yyerror(s)