From 70c973ba10125e179e623eb2cdca5de909fc0cd0 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 29 Sep 2004 13:21:21 -0400 Subject: [PATCH] ERR: Fix Windows build --- Source/kwsys/SystemTools.hxx.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index 2c253dc49..1c48af75d 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -22,6 +22,10 @@ #include +#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