fix for yacc compilation on Alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,10 +156,12 @@ void yyerror(char *s)
|
||||
* the UNIX flex expects a proper function.
|
||||
*/
|
||||
|
||||
/* Not sure if __SC__ is the appropriate thing
|
||||
* to test
|
||||
*/
|
||||
|
||||
/* At least on alphaev6-dec-osf4.0e yywrap() must be #define'd */
|
||||
#ifdef __ALPHA__
|
||||
#ifndef yywrap
|
||||
#define yywrap() 1
|
||||
#endif
|
||||
#else
|
||||
/* HH: Added test for __WX_SETUP_H__ for gnuwin builds
|
||||
* using configure */
|
||||
#if !defined(__SC__) && !defined(__GNUWIN32__)
|
||||
@@ -175,3 +177,5 @@ int yywrap() { return 1; }
|
||||
#elif defined(__WX_SETUP_H__)
|
||||
int yywrap() { return 1; }
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user