fix typo
This commit is contained in:
parent
0b569a374e
commit
07c9aa5bca
@ -80,7 +80,7 @@ typedef void *Atom;
|
||||
#define UInt_FORMAT "%lu"
|
||||
|
||||
# elif SIZEOF_LONG_LONG_INT==8
|
||||
/
|
||||
|
||||
#define Int_FORMAT "%I64d"
|
||||
#define UInt_FORMAT "%I64u"
|
||||
|
||||
|
@ -2897,6 +2897,9 @@ Sopen_file(const char *path, const char *how)
|
||||
enum {lnone=0,lread,lwrite} lock = lnone;
|
||||
IOSTREAM *s;
|
||||
IOENC enc = ENC_UNKNOWN;
|
||||
#if __WINDOWS__
|
||||
int wait = TRUE;
|
||||
#endif
|
||||
|
||||
#if __ANDROID__
|
||||
if (strstr(path, "/assets/") == path) {
|
||||
@ -2914,8 +2917,10 @@ Sopen_file(const char *path, const char *how)
|
||||
case 'r': /* no record */
|
||||
flags &= ~SIO_RECORDPOS;
|
||||
break;
|
||||
case 'L': /* lock r: read, w: write */
|
||||
// wait = FALSE;
|
||||
#if __WINDOWS__
|
||||
case 'L': /* lock r: read, w: write */
|
||||
wait = FALSE;
|
||||
#endif
|
||||
/*FALLTHROUGH*/
|
||||
case 'l': /* lock r: read, w: write */
|
||||
if ( *++how == 'r' )
|
||||
|
Reference in New Issue
Block a user