Patched to enable building on Debian/Alpha

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2001-01-25 02:33:03 +00:00
parent 09fcd88955
commit c81f40e0fe

View File

@@ -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