# HG changeset patch # User Vin Shelton # Date 1263520510 18000 # Node ID a03421eb562b4a077c91a076b2295260e282b0b8 # Parent 5ab6dc5d789e853b5840d4ad29afca182871e5f5 Fix VS6 build breakage in fileio.c diff -r 5ab6dc5d789e -r a03421eb562b src/ChangeLog --- a/src/ChangeLog Thu Jan 14 20:34:28 2010 -0500 +++ b/src/ChangeLog Thu Jan 14 20:55:10 2010 -0500 @@ -1,5 +1,8 @@ 2010-01-14 Vin Shelton + * fileio.c (check_writable): Fix compilation error under Visual + Studio 6. + * sysfile.h: Add conditional definition for EOVERFLOW, which isn't defined under Visual Studio 6. diff -r 5ab6dc5d789e -r a03421eb562b src/fileio.c --- a/src/fileio.c Thu Jan 14 20:34:28 2010 -0500 +++ b/src/fileio.c Thu Jan 14 20:55:10 2010 -0500 @@ -2344,7 +2344,7 @@ DWORD dwAccessAllowed; Extbyte *fnameext; - LOCAL_FILE_FORMAT_TO_TSTR (filename, fnameext); + LOCAL_FILE_FORMAT_TO_TSTR ((Ibyte *)filename, fnameext); // First check for a normal file with the old-style readonly bit attributes = qxeGetFileAttributes(fnameext);