diff options
Diffstat (limited to 'compilerplugins/clang/getimplementationname.cxx')
-rw-r--r-- | compilerplugins/clang/getimplementationname.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/getimplementationname.cxx b/compilerplugins/clang/getimplementationname.cxx index 7e90b3818011..b8873961b5fc 100644 --- a/compilerplugins/clang/getimplementationname.cxx +++ b/compilerplugins/clang/getimplementationname.cxx @@ -12,7 +12,8 @@ #if defined(__unix__) // only compile this on clang 3.7 or higher, which is known to work // there were problems on clang 3.5 at least -#if (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 7)) +#include "config_clang.h" +#if CLANG_VERSION >= 30700 #include <cassert> #include <stdlib.h> #include <string> |