scummvm/backends/fs
Carlo Bramini f44e87dfb7
WIN32: Remove F_OK/R_OK/W_OK hack (#3265)
In backends/fs/windows/windows-fs.cpp, the macros F_OK/R_OK/W_OK are not defined by system includes of MSVC, so they have been added manually into the code.
While this solution works, in my opinion it would be much cleaner to use GetFileAttributes() for getting this information.
Actually, this is what the _access()/_waccess() functions do and, afterall, this is a piece of code expected to work on Windows only.
2021-08-13 21:58:01 +03:00
..
amigaos BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
chroot BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
devoptab BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
morphos BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
n64 BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
posix BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
posix-drives BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
ps3 BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
psp BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
riscos BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
symbian BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
wii BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
windows WIN32: Remove F_OK/R_OK/W_OK hack (#3265) 2021-08-13 21:58:01 +03:00
abstract-fs.cpp BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
abstract-fs.h BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
fs-factory.h BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
stdiostream.cpp WIN32: Add StdioStream 64-bit changes for different systems 2021-07-08 18:24:28 -07:00
stdiostream.h COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00