Skip to content

Commit

Permalink
do not detect LLVM based IBMXL compiler (on ppc) as clang (#2555)
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey authored Oct 20, 2021
1 parent 7463c83 commit 249f03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 249f03b

Please sign in to comment.