==Nothing to see here, move along==

Try to get the yy_wrap and yy_parse definitions for IRIX. Hoping
that it will also help Kent's multiply resolved warnings, I've done
this so that these symbols are defined only if they are currently
undefined. I'm not sure if it will work though, please test!
This commit is contained in:
Chris Want 2006-03-29 23:14:37 +00:00
parent a05b2090a9
commit 7fb2bf5430
2 changed files with 11 additions and 4 deletions

@ -815,7 +815,10 @@ char charBuffer[ CHAR_BUFFER_SIZE ];
int lineCount = 1;
/* extern "C" int yy_wrap (void ) { return 1; } */
#ifndef yy_wrap
extern "C" int yy_wrap (void ) { return 1; }
#endif
#define YY_NO_UNISTD_H
/*----------------------------------------------------------------------------*/

@ -46,6 +46,13 @@
#define YYLSP_NEEDED 0
/* Substitute the variable and function names. */
#ifndef yy_parse
#define yyparse yy_parse
/* the parse function from bison */
int yy_parse( void );
#endif
#define yylex yy_lex
#define yyerror yy_error
#define yylval yy_lval
@ -294,9 +301,6 @@ extern int yy_lex();
extern int lineCount;
extern FILE *yy_in;
/* the parse function from bison */
extern int yy_parse( void );
// local variables to access objects
#include "solver_interface.h"
#include "simulation_object.h"