Commit 53e16571 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Add a wrapper macro for mkdir on Windows.

parent fba5c4f3
......@@ -17912,7 +17912,9 @@ esac
for ac_func in \
_mkdir \
_pclose \
_popen \
_snprintf \
......
......@@ -1370,6 +1370,7 @@ esac
dnl **** Check for functions ****
AC_CHECK_FUNCS(\
_mkdir \
_pclose \
_popen \
_snprintf \
......
......@@ -46,6 +46,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdarg.h>
......
......@@ -999,6 +999,9 @@
/* Define if Xrender has the XRenderSetPictureTransform function */
#undef HAVE_XRENDERSETPICTURETRANSFORM
/* Define to 1 if you have the `_mkdir' function. */
#undef HAVE__MKDIR
/* Define to 1 if you have the `_pclose' function. */
#undef HAVE__PCLOSE
......
......@@ -114,6 +114,10 @@ struct statvfs
#define RTLD_GLOBAL 0x100
#endif
#ifdef HAVE__MKDIR
#define mkdir(path,mode) _mkdir(path)
#endif
#if !defined(HAVE_FTRUNCATE) && defined(HAVE_CHSIZE)
#define ftruncate chsize
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment