From dd7f85a9dc791440b48138aecfff02fb934c1027 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 26 Jan 2004 13:32:20 -0500 Subject: ENH: fix for build on cygwin mingw --- Source/kwsys/ProcessWin32.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 /* strlen, strdup */ #include /* sprintf */ #include /* _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) -- cgit v0.12