diff options
author | Zoltan Kovago <zoltan.kovago@tresorit.com> | 2018-04-06 18:38:52 +0200 |
---|---|---|
committer | Zoltan Kovago <zoltan.kovago@tresorit.com> | 2018-04-09 15:47:17 +0200 |
commit | 0fdd8040ce4eec4522e62a955de00cf8a9a4f66b (patch) | |
tree | 0fe8151d8813d50043f753b761ae1ed9cccff786 /include/rapidjson/rapidjson.h | |
parent | 8022a5f79c7490e2a9dd5934ac9c77b6d5555a6d (diff) | |
download | rapidjson-0fdd8040ce4eec4522e62a955de00cf8a9a4f66b.tar.gz |
fix compilation on windows with clang
Diffstat (limited to 'include/rapidjson/rapidjson.h')
-rw-r--r-- | include/rapidjson/rapidjson.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/rapidjson.h b/include/rapidjson/rapidjson.h index 98332fa..be30776 100644 --- a/include/rapidjson/rapidjson.h +++ b/include/rapidjson/rapidjson.h @@ -433,7 +433,7 @@ template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; }; template <size_t x> struct StaticAssertTest {}; RAPIDJSON_NAMESPACE_END -#if defined(__GNUC__) +#if defined(__GNUC__) || defined(__clang__) #define RAPIDJSON_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) #else #define RAPIDJSON_STATIC_ASSERT_UNUSED_ATTRIBUTE |