Merge pull request #2 from edward-san/qz_clang_fix

- Fixed Clang on Linux compilation.
This commit is contained in:
Rachael Alexanderson 2016-11-13 12:49:14 -05:00 committed by GitHub
commit 23384a913c
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
#endif
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__clang__)
#define __STDC_LIMIT_MACROS // DataTypes.h:57:3: error: "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
#define __STDC_CONSTANT_MACROS // DataTypes.h:61:3: error: "Must #define __STDC_CONSTANT_MACROS before " "#including Support/DataTypes.h"
#pragma clang diagnostic push
@ -80,7 +80,7 @@
#include <llvm/Support/FormattedStream.h>
#endif
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__clang__)
#pragma clang diagnostic pop
#endif