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:
@@ -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
|
||||
|
Reference in New Issue
Block a user