Fixed compilation under MSVC8
svn-id: r28951
This commit is contained in:
parent
ab8997f64d
commit
d6dbb98bc9
1 changed files with 15 additions and 0 deletions
|
@ -37,6 +37,21 @@
|
||||||
#endif
|
#endif
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
|
||||||
|
// F_OK, R_OK and W_OK are not defined under MSVC, so we define them here
|
||||||
|
// For more information on the modes used by MSVC, check:
|
||||||
|
// http://msdn2.microsoft.com/en-us/library/1w06ktdy(VS.80).aspx
|
||||||
|
#ifndef F_OK
|
||||||
|
#define F_OK 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef R_OK
|
||||||
|
#define R_OK 4
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef W_OK
|
||||||
|
#define W_OK 2
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the ScummVM file system API based on Windows API.
|
* Implementation of the ScummVM file system API based on Windows API.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue