summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 17:21:21 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 17:21:21 (GMT)
commit70c973ba10125e179e623eb2cdca5de909fc0cd0 (patch)
tree20d63e23f14e677e7483eeb04a7165f41c1ea9d6
parent3fc7dc5e70cd444731dd3adcc4599f9750e4936c (diff)
downloadCMake-70c973ba10125e179e623eb2cdca5de909fc0cd0.zip
CMake-70c973ba10125e179e623eb2cdca5de909fc0cd0.tar.gz
CMake-70c973ba10125e179e623eb2cdca5de909fc0cd0.tar.bz2
ERR: Fix Windows build
-rw-r--r--Source/kwsys/SystemTools.hxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 2c253dc..1c48af7 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -22,6 +22,10 @@
#include <sys/types.h>
+#if defined( _MSC_VER )
+typedef unsigned short mode_t;
+#endif
+
/* Define these macros temporarily to keep the code readable. */
#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
# define kwsys_stl @KWSYS_NAMESPACE@_stl