This commit is contained in:
Andi Jahja
2001-11-19 22:20:04 +00:00
parent c53a52bc66
commit 225cf29b8a
3 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2001-11-20 05:20 GMT+0700 Andi Jahja <harbour@cbn.net.id>
* source/compiler/harbour.y
! declare function prototype __yy_memcpy() to satisfy Borland
* source/macro/macro.y
! declare function prototype __yy_memcpy() to satisfy Borland
2001-11-19 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com>
* source/rdd/dbfcdx/dbfcdx1.c
@@ -16,7 +22,7 @@
* contrib/libct/ctflist.txt
* changes according to the above
2001-11-19 xx:xx GMT+0700 Andi Jahja <harbour@cbn.net.id>
2001-11-19 18:30 GMT+0700 Andi Jahja <harbour@cbn.net.id>
* source/compiler/harbour.y
! add type casts for MsVC

View File

@@ -55,6 +55,9 @@ extern void yy_delete_buffer( void * ); /* yacc functions to manage multiple fil
#endif
/* lex & yacc related prototypes */
#if !defined(__GNUC__)
extern void __yy_memcpy ( char*, char*, unsigned int ); /* to satisfy Borland compiler */
#endif
extern int yyparse( void ); /* main yacc parsing function */
extern void yyerror( char * ); /* parsing error management function */
extern int yylex( void ); /* main lex token function, called by yyparse() */

View File

@@ -77,6 +77,11 @@
#define free hb_xfree
/* This is workaround of yyparse() declaration bug in bison.simple
*/
#if !defined(__GNUC__)
void __yy_memcpy ( char*, char*, unsigned int ); /* to satisfy Borland compiler */
#endif
#ifdef __GNUC__
#undef __GNUC__
#endif