mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
BUG: try to get access to work on borland
This commit is contained in:
@@ -631,7 +631,9 @@ bool SystemTools::FileExists(const char* filename)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
# define access _access
|
||||
# define F_OK 0
|
||||
#endif
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
if ( access(filename, F_OK) != 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user