]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
Some stubs includes removed from wxMotif; wxNotebook sample hack to make it display;
[wxWidgets.git] / src / common / parser.y
index d154676d06b0fae45b669a7329daf5b496402a37..c834a77e534a10a844d3c956d817e87ac8c2b3f5 100644 (file)
@@ -124,7 +124,7 @@ arg1        :       WORD
 
 %%
 
-#ifdef __WXGTK__
+#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