diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-12 21:16:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-12 21:16:46 (GMT) |
commit | a9beaa40e8b8e95288dc8df5204d62fa45a277c6 (patch) | |
tree | 319c40c56dda0aaa61d987e774521c25e608da07 /Source/kwsys | |
parent | e5bcc9244b885cdb5672a3691896a542521738ca (diff) | |
download | CMake-a9beaa40e8b8e95288dc8df5204d62fa45a277c6.zip CMake-a9beaa40e8b8e95288dc8df5204d62fa45a277c6.tar.gz CMake-a9beaa40e8b8e95288dc8df5204d62fa45a277c6.tar.bz2 |
BUG: try to get access to work on borland
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index bb138d1..d525be3 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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 ) { |