From: cristy Date: Sun, 20 Sep 2009 22:59:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10664 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07425aa174ce9e4ae8e8983af64b7a65bc4c4e93;p=imagemagick --- diff --git a/magick/studio.h b/magick/studio.h index c9b9bf5df..a9e3465d1 100644 --- a/magick/studio.h +++ b/magick/studio.h @@ -199,6 +199,16 @@ extern "C" { # include #endif +#if defined(HAVE_CL_CL_H) +# include +# define MAGICKCORE_OPENCL_SUPPORT 1 +#endif + +#if defined(HAVE_OPENCL_CL_H) +# include +# define MAGICKCORE_OPENCL_SUPPORT 1 +#endif + #if defined(_OPENMP) && (_OPENMP >= 200203) # include #endif diff --git a/wand/studio.h b/wand/studio.h index 69d3debd9..9fb92f0aa 100644 --- a/wand/studio.h +++ b/wand/studio.h @@ -199,6 +199,16 @@ extern "C" { # include #endif +#if defined(HAVE_CL_CL_H) +# include +# define MAGICKCORE_OPENCL_SUPPORT 1 +#endif + +#if defined(HAVE_OPENCL_CL_H) +# include +# define MAGICKCORE_OPENCL_SUPPORT 1 +#endif + #if defined(_OPENMP) && (_OPENMP >= 200203) # include #endif