From 249f03bbb70a2116fbde6fd9a2fd6cd31db10c89 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 20 Oct 2021 09:21:49 -0400 Subject: [PATCH] do not detect LLVM based IBMXL compiler (on ppc) as clang (#2555) --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 5dc4e352..2061161e 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -18,7 +18,7 @@ // The fmt library version in the form major * 10000 + minor * 100 + patch. #define FMT_VERSION 80001 -#ifdef __clang__ +#if defined (__clang__ ) && !defined(__ibmxl__) # define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) #else # define FMT_CLANG_VERSION 0