mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
make GCC happy
This commit is contained in:
parent
04266a1180
commit
cb342bfb12
1 changed files with 4 additions and 0 deletions
|
@ -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__
|
||||
|
|
Loading…
Add table
Reference in a new issue