X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7615330240c8682b86f46acbb2b64d9db3e99aef..7aa88ac4af764fa92c781056bc23103cadea21a4:/src/common/parser.y?ds=sidebyside diff --git a/src/common/parser.y b/src/common/parser.y index 243a49feb7..c834a77e53 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -124,7 +124,7 @@ arg1 : WORD %% -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if (defined(__WXGTK__) || defined(__WXMOTIF__)) && !defined(NO_CONFIGURE) #include "lexer.c" #else #include "../common/lex_yy.c" @@ -162,7 +162,7 @@ void yyerror(char *s) #ifndef yywrap #define yywrap() 1 #endif -#else if !defined(__alpha) && !defined(__ultrix) +#else if !defined(__alpha___) && !defined(__ultrix) int yywrap() { return 1; } #endif #endif