X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..7a5e62674f8c9e923956d67d95f5d0c97763ca1f:/include/wx/expr.h?ds=inline diff --git a/include/wx/expr.h b/include/wx/expr.h index 777676fddd..52f45b9196 100644 --- a/include/wx/expr.h +++ b/include/wx/expr.h @@ -13,6 +13,9 @@ #define _WX_EXPRH__ #include +#if defined(__VISAGECPP__) && __IBMCPP__ >= 400 +# undef __BSEXCPT__ +#endif #include #ifdef ____HPUX__ @@ -79,8 +82,11 @@ #define yy_scan_bytes PROIO_scan_bytes #define yy_flex_debug PROIO_flex_debug #define yy_flush_buffer PROIO_flush_buffer +#if !defined(__VISAGECPP__) +/* multiply defined??? */ #define yyleng PROIO_yyleng #define yytext PROIO_yytext +#endif #ifdef __cplusplus extern "C" { @@ -96,7 +102,7 @@ void process_command(char *); void syntax_error(char *); } #else -#if __BORLANDC__ +#if defined(__BORLANDC__) || defined(__VISAGECPP__) char *proio_cons(char *, char *); char * wxmake_integer(char *); char * wxmake_word(char *); @@ -107,6 +113,7 @@ char * wxmake_exp2(char *, char *, char*); void add_expr(char *); void process_command(char *); void syntax_error(char *); +int lex_input(void); #else char *proio_cons(); char * wxmake_integer();