From cb342bfb121d0e993dac6792f44a14f021aaa8ea Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Tue, 9 Jun 2020 15:30:01 -0700 Subject: [PATCH] make GCC happy --- core/OS.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/OS.hpp b/core/OS.hpp index ba8319ead..cf5a090eb 100644 --- a/core/OS.hpp +++ b/core/OS.hpp @@ -75,7 +75,11 @@ #ifdef __GNUC__ #ifndef ZT_DEBUG +#ifdef __clang__ #define ZT_INLINE __attribute__((always_inline)) inline +#else +#define ZT_INLINE inline +#endif #endif #ifndef restrict #define restrict __restrict__