From 6acb48513cc6e5dd5556011051d6d193c9347f11 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik <andy.cedilnik@kitware.com> Date: Wed, 29 Sep 2004 13:21:21 -0400 Subject: [PATCH] ERR: Fix Windows build --- SystemTools.hxx.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in index 0561bc12..2ce7543e 100644 --- a/SystemTools.hxx.in +++ b/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 -- GitLab