From c49359e0fc469d01e58abc18ac0b28ff1306eeac Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 16 Nov 1999 23:21:08 +0000 Subject: [PATCH] VisualAge V4.0 duplicate definition error suppression git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dosyacc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/dosyacc.c b/src/common/dosyacc.c index 9515eb878c..5cd881ca33 100644 --- a/src/common/dosyacc.c +++ b/src/common/dosyacc.c @@ -247,7 +247,10 @@ void yyerror(char *s) #define yywrap() 1 #endif #else -int yywrap() { return 1; } +# if !(defined(__VISAGECPP__) && __IBMC__ >= 400) +/* VA 4.0 thinks this is multiply defined (in lex_yy.c) */ + int yywrap() { return 1; } +# endif #endif #endif #line 247 "y_tab.c" -- 2.45.2