From 256362b6bab239a4d543217fb33cceeeb2139fe4 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 24 Apr 2019 16:10:46 -0400 Subject: [PATCH] ... --- MagickCore/version.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/MagickCore/version.c b/MagickCore/version.c index 9fa8b3625..da54b3f3d 100644 --- a/MagickCore/version.c +++ b/MagickCore/version.c @@ -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 " -- 2.40.0