diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-27 14:05:01 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-27 14:05:01 (GMT) |
commit | fb228e73c8dbe01ba22be0da0d0813a5b10971c6 (patch) | |
tree | 1c9ef7eac30e496873ff9175231561dc18977a5b /Source | |
parent | 1089ec27a18c1bb3e5be60c2b00b81e78260372b (diff) | |
download | CMake-fb228e73c8dbe01ba22be0da0d0813a5b10971c6.zip CMake-fb228e73c8dbe01ba22be0da0d0813a5b10971c6.tar.gz CMake-fb228e73c8dbe01ba22be0da0d0813a5b10971c6.tar.bz2 |
ERR: Properly handle mode_t on borland
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmStandardIncludes.h | 2 | ||||
-rw-r--r-- | Source/cmSystemTools.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 0243a18..572bcac 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -118,7 +118,7 @@ extern int putenv (char *__string) __THROW; # endif #endif -#if defined( _MSC_VER ) || defined( __BORLANDC__ ) +#if defined( _MSC_VER ) typedef unsigned short mode_t; #endif diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index d183cae..f5ee0fe 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -20,6 +20,7 @@ #include "cmStandardIncludes.h" #include <cmsys/SystemTools.hxx> +#include <sys/types.h> /** \class cmSystemTools * \brief A collection of useful functions for CMake. |