configure: Add a wrapper macro for mkdir on Windows.
This commit is contained in:
parent
fba5c4f328
commit
53e165716d
|
@ -17910,9 +17910,11 @@ 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
|
||||
|
|
Loading…
Reference in New Issue