diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/localconsts.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 6c52bf0e1..b5ca05e04 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -93,10 +93,13 @@ #define restrict #define restrict2 #else // __native_client__ -#define restrict __restrict__ #ifdef __clang__ +// because restrict broken in clang, now it removed from all places. +//#define restrict __restrict__ +#define restrict #define restrict2 #else // __clang__ +#define restrict __restrict__ #define restrict2 __restrict__ #endif // __clang__ #endif // __native_client__ |