X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfe780fb99dc42d454625b1ea88ae687c54acbf1..520e470fdd0daef09c77938db642e4583933c90d:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index 1fb7dceb10..d154676d06 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -1,5 +1,12 @@ %{ #include +#ifdef _MSC_VER +#include +#endif +#ifdef __GNUWIN32__ +#include +#endif + #include "wx/expr.h" #ifndef __EXTERN_C__ @@ -117,7 +124,11 @@ arg1 : WORD %% +#ifdef __WXGTK__ +#include "lexer.c" +#else #include "../common/lex_yy.c" +#endif /* void yyerror(s)