BUG: try to get access to work on borland

This commit is contained in:
Bill Hoffman 2004-01-12 16:16:46 -05:00
parent e5bcc9244b
commit a9beaa40e8
1 changed files with 3 additions and 1 deletions

View File

@ -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 )