ntdll: Define PATH_MAX when needed

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


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

diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index 5d6d2cc..f0a7c65 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -85,6 +85,10 @@
 #include "wine/library.h"
 #include "wine/debug.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX MAX_PATH
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(file);
 
 /* just in case... */
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list