From 16729355bc306203420585cc14c8092fc91f97f7 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Tue, 26 Sep 2017 11:50:44 +0200 Subject: [PATCH] Disabled support for distributed pixel cache with an MINGW build. --- MagickCore/distribute-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index c952228df..256bba1be 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -87,7 +87,7 @@ #define SOCKET_TYPE int #define LENGTH_TYPE size_t #define MAGICKCORE_HAVE_DISTRIBUTE_CACHE -#elif defined(MAGICKCORE_WINDOWS_SUPPORT) +#elif defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(__MINGW32__) && !defined(__MINGW64__) #define CHAR_TYPE_CAST (char *) #define CLOSE_SOCKET(socket) (void) closesocket(socket) #define HANDLER_RETURN_TYPE DWORD WINAPI -- 2.40.0