summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
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)) )