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 \
|
for ac_func in \
|
||||||
|
_mkdir \
|
||||||
_pclose \
|
_pclose \
|
||||||
_popen \
|
_popen \
|
||||||
_snprintf \
|
_snprintf \
|
||||||
|
|
|
@ -1370,6 +1370,7 @@ esac
|
||||||
dnl **** Check for functions ****
|
dnl **** Check for functions ****
|
||||||
|
|
||||||
AC_CHECK_FUNCS(\
|
AC_CHECK_FUNCS(\
|
||||||
|
_mkdir \
|
||||||
_pclose \
|
_pclose \
|
||||||
_popen \
|
_popen \
|
||||||
_snprintf \
|
_snprintf \
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "wine/port.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -999,6 +999,9 @@
|
||||||
/* Define if Xrender has the XRenderSetPictureTransform function */
|
/* Define if Xrender has the XRenderSetPictureTransform function */
|
||||||
#undef HAVE_XRENDERSETPICTURETRANSFORM
|
#undef HAVE_XRENDERSETPICTURETRANSFORM
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `_mkdir' function. */
|
||||||
|
#undef HAVE__MKDIR
|
||||||
|
|
||||||
/* Define to 1 if you have the `_pclose' function. */
|
/* Define to 1 if you have the `_pclose' function. */
|
||||||
#undef HAVE__PCLOSE
|
#undef HAVE__PCLOSE
|
||||||
|
|
||||||
|
|
|
@ -114,6 +114,10 @@ struct statvfs
|
||||||
#define RTLD_GLOBAL 0x100
|
#define RTLD_GLOBAL 0x100
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE__MKDIR
|
||||||
|
#define mkdir(path,mode) _mkdir(path)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_FTRUNCATE) && defined(HAVE_CHSIZE)
|
#if !defined(HAVE_FTRUNCATE) && defined(HAVE_CHSIZE)
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue