From c81f40e0fe3ea56c7291a83045419455649809f4 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Thu, 25 Jan 2001 02:33:03 +0000 Subject: [PATCH] Patched to enable building on Debian/Alpha git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/parser.y | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/common/parser.y b/src/common/parser.y index 336c6e5102..c9160bffa6 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -154,8 +154,11 @@ void yyerror(char *s) * the UNIX flex expects a proper function. */ -/* At least on alphaev6-dec-osf4.0e yywrap() must be #define'd */ -#if defined( __ALPHA__ ) && !defined( __VMS__ ) +/* At least on alphaev6-dec-osf4.0e yywrap() must be #define'd. + * RL: ... but on Debian/Alpha(linux) it must not, so hopefully + * testing for __OSF__ here is what we really want. + */ +#ifdef __OSF__ #ifndef yywrap #define yywrap() 1 #endif -- 2.45.2