Borland bits (from Yitzhak)
This commit is contained in:
@@ -140,6 +140,7 @@ char _FAR * _RTLENTRY _EXPFUNC getcwd( char _FAR *__buf, int __buflen );
|
||||
int _RTLENTRY _EXPFUNC write (int __handle, const void _FAR *__buf, unsigned __len);
|
||||
int _RTLENTRY _EXPFUNC creat (const char _FAR *__path, int __amode);
|
||||
int _RTLENTRY _EXPFUNC close (int __handle);
|
||||
int _RTLENTRY _EXPFUNC _close (int __handle);
|
||||
int _RTLENTRY _EXPFUNC open (const char _FAR *__path, int __access,... /*unsigned mode*/);
|
||||
long _RTLENTRY _EXPFUNC lseek (int __handle, long __offset, int __fromwhere);
|
||||
int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
|
||||
|
||||
@@ -544,13 +544,13 @@ int lev, oflag;
|
||||
lftrack.nethack_thinks_it_is_open = TRUE;
|
||||
} else {
|
||||
really_close();
|
||||
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
|
||||
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
|
||||
lftrack.fd = fd;
|
||||
lftrack.oflag = oflag;
|
||||
lftrack.nethack_thinks_it_is_open = TRUE;
|
||||
}
|
||||
} else {
|
||||
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
|
||||
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
|
||||
lftrack.fd = fd;
|
||||
lftrack.oflag = oflag;
|
||||
if (fd)
|
||||
|
||||
@@ -67,7 +67,7 @@ rc = $(bccbin)\brc32
|
||||
link = $(bccbin)\ilink32
|
||||
implib = $(bccbin)\tlib
|
||||
|
||||
cflags = -c -D_X86_=1 -DWINVER=$(MAKE_WINVER) -q -I$(bccinc) -w-pia -w-rch -w-par -w-aus
|
||||
cflags = -c -D_X86_=1 -DWINVER=$(MAKE_WINVER) -q -I$(bccinc) -w-pia -w-rch -w-csu -w-par -w-aus
|
||||
cdebug = -y -v -O2
|
||||
cvarsmt = -DWIN32 -D_WIN32 -D_MT
|
||||
lflags =
|
||||
|
||||
Reference in New Issue
Block a user