BUG: try to get access to work on borland
This commit is contained in:
parent
e5bcc9244b
commit
a9beaa40e8
|
@ -631,6 +631,8 @@ bool SystemTools::FileExists(const char* filename)
|
|||
{
|
||||
#ifdef _MSC_VER
|
||||
# define access _access
|
||||
#endif
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
if ( access(filename, F_OK) != 0 )
|
||||
|
|
Loading…
Reference in New Issue