[PATCH] wineport: Prevent redefining mkdir. (try2)
Tijl Coosemans
tijl at ulyssis.org
Sun Dec 21 08:03:33 CST 2008
Fixes http://bugs.winehq.org/show_bug.cgi?id=16561
---
configure.ac | 1 +
include/wine/port.h | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 4bf1ec3..64d1cec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1390,6 +1390,7 @@ AC_CHECK_FUNCS(\
kqueue \
lstat \
memmove \
+ mkdir \
mmap \
pclose \
poll \
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