]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Wed, 24 Apr 2019 20:10:46 +0000 (16:10 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Wed, 24 Apr 2019 20:10:46 +0000 (16:10 -0400)
MagickCore/version.c

index 9fa8b3625e947e6b654c3f21345c0ba5cdc1688d..da54b3f3d5d55ac5afff9f083da1bbe793ee9896 100644 (file)
@@ -248,7 +248,25 @@ MagickExport const char *GetMagickFeatures(void)
   "OpenCL "
 #endif
 #if defined(MAGICKCORE_OPENMP_SUPPORT)
-  "OpenMP "
+#if _OPENMP == 199810
+  "OpenMP(1.0)"
+#elif _OPENMP == 200203
+  "OpenMP(2.0)"
+#elif _OPENMP == 200505
+  "OpenMP(2.5)"
+#elif _OPENMP == 200805
+  "OpenMP(3.0)"
+#elif _OPENMP == 201107
+  "OpenMP(3.1)"
+#elif _OPENMP == 201307
+  "OpenMP(4.0)"
+#elif _OPENMP == 201511
+  "OpenMP(4.5)"
+#elif _OPENMP == 201811
+  "OpenMP(5.0)"
+#else
+  "OpenMP"
+#endif
 #endif
 #if defined(ZERO_CONFIGURATION_SUPPORT)
   "Zero-configuration "