summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 20:03:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 20:03:09 (GMT)
commit900ad59867f7949b1b3a46ed53adc2d0197b8bb7 (patch)
tree8e1be8e83ecbf0a59a2278fc69ad2e22bce14127 /Source/cmStandardIncludes.h
parent7527fbccc28a051142a53dd21ca7fe8e7fae2613 (diff)
downloadCMake-900ad59867f7949b1b3a46ed53adc2d0197b8bb7.zip
CMake-900ad59867f7949b1b3a46ed53adc2d0197b8bb7.tar.gz
CMake-900ad59867f7949b1b3a46ed53adc2d0197b8bb7.tar.bz2
ERR: Fix build problems on Visual Studio 6
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index d065f6f..ebd2ce5 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -118,6 +118,11 @@ extern int putenv (char *__string) __THROW;
# endif
#endif
+#ifdef _MSC_VER
+typedef unsigned short mode_t;
+#endif
+
+
#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
// some compilers have std:: but not for the stream library,
// so we have to bring it into the std namespace by hand.