Unverified Commit 249f03bb authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub

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

parent 7463c832
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// The fmt library version in the form major * 10000 + minor * 100 + patch. // The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 80001 #define FMT_VERSION 80001
#ifdef __clang__ #if defined (__clang__ ) && !defined(__ibmxl__)
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) # define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
#else #else
# define FMT_CLANG_VERSION 0 # define FMT_CLANG_VERSION 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment