make GCC happy

This commit is contained in:
Grant Limberg 2020-06-09 15:30:01 -07:00
parent 04266a1180
commit cb342bfb12
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

View file

@ -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__