Borland build fixes (from Yitzhak)

> This patch fixes warnings relating to pointers (using int *
> instead of unsigned int * ), provides prototypes for some
> functions, and adds a missing argument to one of the functions
>
> It also changes a bit in the way flex/bison are used in the
> Borland makefile to allow me to test compilation with those
> utilities using a batch file.
This commit is contained in:
nethack.allison
2003-08-24 15:37:50 +00:00
parent b210dc8965
commit bc4a07d9b3
5 changed files with 30 additions and 9 deletions

View File

@@ -136,15 +136,19 @@ OBJ = o
# Yacc/Lex ... if you got 'em.
#
# If you have yacc and lex programs (or work-alike such as bison
# and flex), comment out the upper two macros and uncomment
# the lower two.
# and flex), uncomment the upper two macros.
#
DO_YACC = YACC_MSG
DO_LEX = LEX_MSG
#DO_YACC = YACC_ACT
#DO_LEX = LEX_ACT
!IFNDEF DO_YACC
DO_YACC = YACC_MSG
!ENDIF
!IFNDEF DO_LEX
DO_LEX = LEX_MSG
!ENDIF
# Wilbur Streett's Win32 ports of GNU bison and flex are available at:
# http://www.monmouth.com/~wstreett/lex-yacc/lex-yacc.html
#