mountmgr.sys: Define PATH_MAX when needed
André Hentschel
nerv at dawncrow.de
Wed Oct 12 15:22:45 CDT 2011
---
dlls/mountmgr.sys/diskarb.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/mountmgr.sys/diskarb.c b/dlls/mountmgr.sys/diskarb.c
index 9a7616e..36345a5 100644
--- a/dlls/mountmgr.sys/diskarb.c
+++ b/dlls/mountmgr.sys/diskarb.c
@@ -33,6 +33,10 @@
#include "mountmgr.h"
#include "wine/debug.h"
+#ifndef PATH_MAX
+#define PATH_MAX MAX_PATH
+#endif
+
WINE_DEFAULT_DEBUG_CHANNEL(mountmgr);
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list