Compile fix for Windows.

__inline instead of inline is needed.
This commit is contained in:
Nathan Letwory
2016-10-28 11:54:01 +03:00
parent 216a3a3826
commit 03b8531cea
+4
View 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