mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- Fixed Clang on Linux compilation.
This commit is contained in:
parent
acb2e821f0
commit
1442f7fb7b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue