[PATCH] wineport: Prevent redefining mkdir.

Tijl Coosemans tijl at ulyssis.org
Sun Dec 21 07:50:40 CST 2008


Fixes http://bugs.winehq.org/show_bug.cgi?id=16561

---
 include/wine/port.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-------------- next part --------------
diff --git a/include/wine/port.h b/include/wine/port.h
index fd37698..9af35c5 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -114,7 +114,7 @@ struct statvfs
 #define RTLD_GLOBAL  0x100
 #endif
 
-#ifdef HAVE__MKDIR
+#if !defined(HAVE_MKDIR) && defined(HAVE__MKDIR)
 #define mkdir(path,mode) _mkdir(path)
 #endif
 


More information about the wine-patches mailing list