]> git.saurik.com Git - wxWidgets.git/commitdiff
correction for compilation with ProjectBuilder
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 2 Feb 2002 13:34:09 +0000 (13:34 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 2 Feb 2002 13:34:09 +0000 (13:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/parser.y

index d81dd0ca969245cfcf5aee5a72b5ece33873be68..a5dcdf37a78a6d8db1859d1a83fae19465b62cc5 100644 (file)
@@ -124,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)