do not detect LLVM based IBMXL compiler (on ppc) as clang

This commit is contained in:
Axel Kohlmeyer 2021-10-20 09:02:48 -04:00
parent 7463c83205
commit 6908b484a3
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A

View File

@ -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