summaryrefslogtreecommitdiffstats
path: root/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2020-05-27 11:59:02 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-27 12:33:38 (GMT)
commitc47501bcca7c5d47aa22478071a16fae5cef9c63 (patch)
tree70970ede1617838c5edecc344b93e38ee27480f8 /SystemTools.hxx.in
parent8fd4c19e1b39efa6912321a72ac12a1c0121264e (diff)
downloadCMake-c47501bcca7c5d47aa22478071a16fae5cef9c63.zip
CMake-c47501bcca7c5d47aa22478071a16fae5cef9c63.tar.gz
CMake-c47501bcca7c5d47aa22478071a16fae5cef9c63.tar.bz2
KWSys 2020-05-27 (a3263389)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit a3263389bcaab27fd62a23599d4ce9bdaa01479a (master). Upstream Shortlog ----------------- Brad King (7): ce4941c9 IOStream: Drop this component of KWSys 49d04c2c hashtable: Drop this component of KWSys a0bd892c SystemInformation: Use 'long long' unconditionally 441dd494 Drop unused checks for 'long long' and '__int64' 2b749749 Drop unused C type macros check 74daf33b Drop unused Borland and OpenWatcom preprocessor conditions c4e8126a Drop unused CXX cstdio check
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r--SystemTools.hxx.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index ae08e57..5dbb726 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -67,7 +67,7 @@ static SystemToolsManager SystemToolsManagerInstance;
// combined using the | operator.
typedef int TestFilePermissions;
#if defined(_WIN32) && !defined(__CYGWIN__)
-// On Windows (VC and Borland), no system header defines these constants...
+// On Windows (VC), no system header defines these constants...
static const TestFilePermissions TEST_FILE_OK = 0;
static const TestFilePermissions TEST_FILE_READ = 4;
static const TestFilePermissions TEST_FILE_WRITE = 2;
@@ -317,11 +317,7 @@ public:
* Cross platform wrapper for stat struct
*/
#if defined(_WIN32) && !defined(__CYGWIN__)
-# if defined(__BORLANDC__)
- typedef struct stati64 Stat_t;
-# else
typedef struct _stat64 Stat_t;
-# endif
#else
typedef struct stat Stat_t;
#endif
@@ -555,7 +551,7 @@ public:
static FILE* Fopen(const std::string& file, const char* mode);
/**
- * Visual C++ does not define mode_t (note that Borland does, however).
+ * Visual C++ does not define mode_t.
*/
#if defined(_MSC_VER)
typedef unsigned short mode_t;