mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Optimization stuff
This commit is contained in:
parent
1ab29b1ab0
commit
8e87319925
2 changed files with 23 additions and 23 deletions
|
@ -142,7 +142,7 @@
|
|||
#endif
|
||||
|
||||
#if (defined(__GNUC__) && (__GNUC__ >= 3)) || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) || defined(__clang__)
|
||||
#define ZT_ALWAYS_INLINE __attribute__((always_inline))
|
||||
#define ZT_ALWAYS_INLINE inline __attribute__((always_inline))
|
||||
#ifndef likely
|
||||
#define likely(x) __builtin_expect((x),1)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue