#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/utility.h"
+#include "MagickCore/utility-private.h"
#include "MagickCore/version-private.h"
\f
/*
%
*/
-static inline int open_utf8(const char *path,int flags,mode_t mode)
-{
-#if !defined(MAGICKCORE_WINDOWS_SUPPORT) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__)
- return(open(path,flags,mode));
-#else
- int
- status;
-
- wchar_t
- *path_wide;
-
- path_wide=create_wchar_path(path);
- if (path_wide == (wchar_t *) NULL)
- return(-1);
- status=_wopen(path_wide,flags,mode);
- path_wide=(wchar_t *) RelinquishMagickMemory(path_wide);
- return(status);
-#endif
-}
-
static MagickBooleanType WriteMPCImage(const ImageInfo *image_info,Image *image,
ExceptionInfo *exception)
{