These version checks are about the Clang the plugins are built /against/

...not the (Clang) compiler they are being built /with/.  (Also simplifies the
checking #if code.)

Change-Id: I416321be4ef4478785be40571f81500fd3b6feb8
This commit is contained in:
Stephan Bergmann
2016-02-26 12:50:16 +01:00
parent cd2725de90
commit 01f3b95884
20 changed files with 66 additions and 60 deletions

View File

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