summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2017-03-17 20:01:58 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2017-03-17 20:01:58 -0700
commit78ef2c5f16524684b4682ac2ef614abe1ed62dd7 (patch)
tree274fc13f79fa618018d561bc78a955af69fac23f /node
parentec8e1178e5cfbe9cd790928dd06562af734a2d48 (diff)
downloadinfinitytier-78ef2c5f16524684b4682ac2ef614abe1ed62dd7.tar.gz
infinitytier-78ef2c5f16524684b4682ac2ef614abe1ed62dd7.zip
Windows build fixes, app about text revisions.
Diffstat (limited to 'node')
-rw-r--r--node/Packet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Packet.cpp b/node/Packet.cpp
index b07f0bed..756f3140 100644
--- a/node/Packet.cpp
+++ b/node/Packet.cpp
@@ -273,7 +273,9 @@ union LZ4_streamDecode_u {
#endif /* _MSC_VER */
#endif
+#ifndef FORCE_INLINE
#define FORCE_INLINE static inline
+#endif
#if (defined(__GNUC__) && (__GNUC__ >= 3)) || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) || defined(__clang__)
# define expect(expr,value) (__builtin_expect ((expr),(value)) )