shell32: Define PATH_MAX when needed

André Hentschel nerv at dawncrow.de
Wed Oct 12 15:22:48 CDT 2011


---
 dlls/shell32/shfldr_unixfs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 9649df8..72ed3dd 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -166,6 +166,10 @@
 #include "pidl.h"
 #include "debughlp.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX MAX_PATH
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(shell);
 
 #if !defined(__MINGW32__) && !defined(_MSC_VER)
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list