aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/lx/lua_cmsgpack.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-05-03 20:37:59 +0200
committerAlex Auvolat <alex@adnab.me>2017-05-03 20:37:59 +0200
commit1161e1d8be014945266017cb0ce735537a287677 (patch)
tree118f2201a5e12f79aefb404295794eed0d52cd6d /src/sysbin/lx/lua_cmsgpack.c
parent0b583122fb6cfcff991c54836d37cb3958c343b1 (diff)
downloadkogata-1161e1d8be014945266017cb0ce735537a287677.tar.gz
kogata-1161e1d8be014945266017cb0ce735537a287677.zip
Truetype fonts
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)