X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfe780fb99dc42d454625b1ea88ae687c54acbf1..6bc5e910c42d8212272a350b20841ab9d8a87719:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index 1fb7dceb10..3973c3948c 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 %% +#if (defined(__WXGTK__) || defined(__WXMOTIF__)) && !defined(NO_CONFIGURE) +#include "lexer.c" +#else #include "../common/lex_yy.c" +#endif /* void yyerror(s)