X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e19f54e55255ddef1df49acde530102f5db2492..6a44bffd1ac68163e4c1cfe8aa8fe4f7f98a02e7:/src/common/parser.y?ds=inline 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)