libs/wine: Define PATH_MAX when needed

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


---
 libs/wine/loader.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libs/wine/loader.c b/libs/wine/loader.c
index df0a6b5..878bc88 100644
--- a/libs/wine/loader.c
+++ b/libs/wine/loader.c
@@ -45,6 +45,10 @@
 #include "winbase.h"
 #include "wine/library.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX MAX_PATH
+#endif
+
 #ifdef __APPLE__
 #include <crt_externs.h>
 #define environ (*_NSGetEnviron())
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list