summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-26 18:32:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-26 18:32:20 (GMT)
commitdd7f85a9dc791440b48138aecfff02fb934c1027 (patch)
tree3b49b0ca52c77e947cad3be9da12ec3ca43d8fad
parent7608d3f58665179773826510032024b7e70ee00f (diff)
downloadCMake-dd7f85a9dc791440b48138aecfff02fb934c1027.zip
CMake-dd7f85a9dc791440b48138aecfff02fb934c1027.tar.gz
CMake-dd7f85a9dc791440b48138aecfff02fb934c1027.tar.bz2
ENH: fix for build on cygwin mingw
-rw-r--r--Source/kwsys/ProcessWin32.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index 8556a96..a8fac89 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -40,6 +40,14 @@ Q190351 and Q150956.
#include <string.h> /* strlen, strdup */
#include <stdio.h> /* sprintf */
#include <io.h> /* _unlink */
+
+#ifndef _MAX_FNAME
+#define _MAX_FNAME 4096
+#endif
+#ifndef _MAX_PATH
+#define _MAX_PATH 4096
+#endif
+
#ifdef _MSC_VER
#pragma warning (pop)
#pragma warning (disable: 4514)