X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e19f54e55255ddef1df49acde530102f5db2492..1b0b798d77b7b93b81d62162b290441bc9175e3e:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index d81dd0ca96..a5dcdf37a7 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -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)