/*
- Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
+ Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
#include "magick/memory_.h"
static inline MagickBooleanType GetFillColor(const DrawInfo *draw_info,
- const long x,const long y,PixelPacket *pixel)
+ const ssize_t x,const ssize_t y,PixelPacket *pixel)
{
Image
*pattern;
*pixel=draw_info->fill;
return(MagickTrue);
}
-#if defined(MAGICKCORE_OPENMP_SUPPORT)
+#if defined(MAGICKCORE_OPENMP_SUPPORT) && (_OPENMP >= 200203)
#pragma omp critical
#endif
status=GetOneVirtualMethodPixel(pattern,TileVirtualPixelMethod,
}
static inline MagickBooleanType GetStrokeColor(const DrawInfo *draw_info,
- const long x,const long y,PixelPacket *pixel)
+ const ssize_t x,const ssize_t y,PixelPacket *pixel)
{
Image
*pattern;
*pixel=draw_info->stroke;
return(MagickTrue);
}
-#if defined(MAGICKCORE_OPENMP_SUPPORT)
+#if defined(MAGICKCORE_OPENMP_SUPPORT) && (_OPENMP >= 200203)
#pragma omp critical
#endif
status=GetOneVirtualMethodPixel(pattern,TileVirtualPixelMethod,