]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 20 Jan 2012 01:46:17 +0000 (01:46 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 20 Jan 2012 01:46:17 +0000 (01:46 +0000)
MagickCore/studio.h
MagickWand/studio.h

index 76b246380137c87a99313b51fc0ef27e4de02748..a6039ecff9c242d7272a4e76cfa9f350da1517cb 100644 (file)
@@ -225,7 +225,7 @@ extern "C" {
 #  define MAGICKCORE_OPENCL_SUPPORT  1
 #endif
 
-#if defined(_OPENMP) && (_OPENMP >= 200203)
+#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
 #  include <omp.h>
 #  define MAGICKCORE_OPENMP_SUPPORT  1
 #endif
index ffb6464a50d987daef73fe0e3e6e11dbe764c2e5..b1b5711389f64ee0c801beffbf000252abb2f54c 100644 (file)
@@ -230,7 +230,7 @@ extern "C" {
 #  define MAGICKCORE_OPENCL_SUPPORT  1
 #endif
 
-#if defined(_OPENMP) && (_OPENMP >= 200203)
+#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
 #  include <omp.h>
 #  define MAGICKCORE_OPENMP_SUPPORT  1
 #endif