X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c49359e0fc469d01e58abc18ac0b28ff1306eeac..d162a7ee7d6bab3d0c714b865806377aeb5d0d9e:/src/common/dosyacc.c diff --git a/src/common/dosyacc.c b/src/common/dosyacc.c index 5cd881ca33..14672306db 100644 --- a/src/common/dosyacc.c +++ b/src/common/dosyacc.c @@ -1,3 +1,11 @@ +#if defined(__WIN32__) || defined(__GNUWIN32__) +/* all Win32 compilers can handle C++ comments, and C++ comments + is the only C++ in setup.h */ +#include "wx/setup.h" +#endif + +#if !defined(wxUSE_PROLOGIO) || wxUSE_PROLOGIO + #ifndef lint static char yysccsid[] = "@(#)yaccpar 1.7 (Berkeley) 09/09/90"; #endif @@ -258,7 +266,7 @@ void yyerror(char *s) #define YYACCEPT goto yyaccept #define YYERROR goto yyerrlab int -yyparse() +PROIO_yyparse() { register int yym, yyn, yystate; #if YYDEBUG @@ -526,3 +534,5 @@ yyabort: yyaccept: return (0); } + +#endif /* wxUSE_PROLOGIO */