Compile fix for Windows.
authorNathan Letwory <nathan@mcneel.com>
Fri, 28 Oct 2016 08:54:01 +0000 (11:54 +0300)
committerNathan Letwory <nathan@mcneel.com>
Fri, 28 Oct 2016 08:54:01 +0000 (11:54 +0300)
__inline instead of inline is needed.

extern/rangetree/intern/range_tree.c

index 766dd22234c1c9f63125f581971b132a68be76f0..4c81036dceb226ea7c6eef193c13973f08467996 100644 (file)
@@ -521,6 +521,10 @@ static bool rb_is_balanced_root(const Node *root)
 /* ------------------------------------------------------------------------- */
 /* Internal RangeTreeUInt API */
 
+#ifdef _WIN32
+#define inline __inline
+#endif
+
 static inline Node *rt_node_alloc(RangeTreeUInt *rt)
 {
 #ifdef USE_TPOOL