X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c81f40e0fe3ea56c7291a83045419455649809f4..74dc5eb60e80a9b2ceddd78cb577f42e48f5b3ba:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index c9160bffa6..a5dcdf37a7 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -1,3 +1,4 @@ +/* Version: $Id$ */ %{ #include "wx/setup.h" #include @@ -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)