@@ -47,7 +47,7 @@ extern MagickPrivate void
47
47
48
48
static inline int access_utf8 (const char * path ,int mode )
49
49
{
50
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
50
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
51
51
return (access (path ,mode ));
52
52
#else
53
53
int
@@ -71,7 +71,7 @@ static inline int access_utf8(const char *path,int mode)
71
71
72
72
static inline FILE * fopen_utf8 (const char * path ,const char * mode )
73
73
{
74
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
74
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
75
75
return (fopen (path ,mode ));
76
76
#else
77
77
FILE
@@ -105,14 +105,14 @@ static inline FILE *fopen_utf8(const char *path,const char *mode)
105
105
#endif
106
106
}
107
107
108
- #if defined(MAGICKCORE_WINDOWS_SUPPORT ) && !defined(__CYGWIN__ ) && !defined(__MINGW32__ )
108
+ #if defined(MAGICKCORE_WINDOWS_SUPPORT ) && !defined(__CYGWIN__ ) && \ !defined(__MINGW32__ ) && \!defined( __MINGW64__ )
109
109
typedef int
110
110
mode_t ;
111
111
#endif
112
112
113
113
static inline int open_utf8 (const char * path ,int flags ,mode_t mode )
114
114
{
115
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
115
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
116
116
return (open (path ,flags ,mode ));
117
117
#else
118
118
int
@@ -136,7 +136,7 @@ static inline int open_utf8(const char *path,int flags,mode_t mode)
136
136
137
137
static inline FILE * popen_utf8 (const char * command ,const char * type )
138
138
{
139
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
139
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
140
140
return (popen (command ,type ));
141
141
#else
142
142
FILE
@@ -172,7 +172,7 @@ static inline FILE *popen_utf8(const char *command,const char *type)
172
172
173
173
static inline int remove_utf8 (const char * path )
174
174
{
175
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
175
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
176
176
return (unlink (path ));
177
177
#else
178
178
int
@@ -196,7 +196,7 @@ static inline int remove_utf8(const char *path)
196
196
197
197
static inline int rename_utf8 (const char * source ,const char * destination )
198
198
{
199
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
199
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
200
200
return (rename (source ,destination ));
201
201
#else
202
202
int
@@ -231,7 +231,7 @@ static inline int rename_utf8(const char *source,const char *destination)
231
231
232
232
static inline int stat_utf8 (const char * path ,struct stat * attributes )
233
233
{
234
- #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ )
234
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT ) || defined(__CYGWIN__ ) || defined(__MINGW32__ ) || defined( __MINGW64__ )
235
235
return (stat (path ,attributes ));
236
236
#else
237
237
int
0 commit comments