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

This commit is contained in:
Axel Kohlmeyer 2021-10-20 09:21:49 -04:00 committed by GitHub
parent 7463c83205
commit 249f03bbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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