From: cristy Date: Tue, 22 Oct 2013 14:20:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04d9868a908b1f5228075ada1f26737c8b7f76aa;p=imagemagick --- diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index e65a90825..a08edf032 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -73,7 +73,7 @@ #include "MagickCore/string-private.h" #include "MagickCore/version.h" #include "MagickCore/version-private.h" -#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD) +#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_THREAD_SUPPORT) #include #include #include @@ -154,7 +154,7 @@ static inline MagickOffsetType dpc_read(int file,const MagickSizeType length, static int ConnectPixelCacheServer(const char *hostname,const int port, size_t *session_key,ExceptionInfo *exception) { -#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD) +#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_THREAD_SUPPORT) char service[MaxTextExtent]; @@ -849,7 +849,7 @@ static void *DistributePixelCacheClient(void *socket) MagickExport void DistributePixelCacheServer(const int port, ExceptionInfo *exception) { -#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD) +#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_THREAD_SUPPORT) char service[MaxTextExtent];