projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied patch 432814: saving BMP in 1, 4 and 8 bpp
[wxWidgets.git]
/
src
/
common
/
cwy_tab.c
diff --git
a/src/common/cwy_tab.c
b/src/common/cwy_tab.c
index 1ad5970dd71b1b362e82d6c7568312fb7ffe73b1..b83301066b290c02c4d288202f66195124118eaa 100644
(file)
--- a/
src/common/cwy_tab.c
+++ b/
src/common/cwy_tab.c
@@
-18,14
+18,27
@@
static char yysccsid[] = "@(#)yaccpar 1.7 (Berkeley) 09/09/90";
extern "C" {
#endif
#endif
extern "C" {
#endif
#endif
+int yyparse(void);
+int PROIO_yyparse(void) {
+ return yyparse() ;
+}
int yylex(void);
int yylook(void);
int yywrap(void);
int yyback(int *, int);
int yylex(void);
int yylook(void);
int yywrap(void);
int yyback(int *, int);
-#if
def __WXMAC__
+#if
__MSL__ < 0x6000
int read( int , char * , int ) ;
int read( int , char * , int ) ;
+#else
+int _read( int , void * , size_t ) ;
+#define read _read
+#endif
+#ifdef __WXMSW__
+//int fileno( FILE* ) ; This is defined in watcom
+#else
+#if __MSL__ < 0x6000
int fileno( void* ) ;
#endif
int fileno( void* ) ;
#endif
+#endif
/* You may need to put /DLEX_SCANNER in your makefile
* if you're using LEX!
/* You may need to put /DLEX_SCANNER in your makefile
* if you're using LEX!