mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +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__
|
#ifdef __GNUC__
|
||||||
#ifndef ZT_DEBUG
|
#ifndef ZT_DEBUG
|
||||||
|
#ifdef __clang__
|
||||||
#define ZT_INLINE __attribute__((always_inline)) inline
|
#define ZT_INLINE __attribute__((always_inline)) inline
|
||||||
|
#else
|
||||||
|
#define ZT_INLINE inline
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef restrict
|
#ifndef restrict
|
||||||
#define restrict __restrict__
|
#define restrict __restrict__
|
||||||
|
|
Loading…
Add table
Reference in a new issue