aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/lx/lua_cmsgpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/lx/lua_cmsgpack.c')
-rw-r--r--src/sysbin/lx/lua_cmsgpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysbin/lx/lua_cmsgpack.c b/src/sysbin/lx/lua_cmsgpack.c
index 57c378e..8eb15fc 100644
--- a/src/sysbin/lx/lua_cmsgpack.c
+++ b/src/sysbin/lx/lua_cmsgpack.c
@@ -19,6 +19,7 @@
#endif
/* Check if float or double can be an integer without loss of precision */
+#define isinf(x) (false)
#define IS_INT_TYPE_EQUIVALENT(x, T) (!isinf(x) && (T)(x) == (x))
#define IS_INT64_EQUIVALENT(x) IS_INT_TYPE_EQUIVALENT(x, int64_t)