aboutsummaryrefslogtreecommitdiff
path: root/lib/liblua
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-25 13:30:34 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-25 13:30:34 +0000
commit0c54932d50a0cbffdd083bf6b2e8d587902f90c9 (patch)
tree21b6a77ec450db54e8bc40e81da22b46ee7dfafa /lib/liblua
parent6b3a148c52ac585d5d2b3d76de6b9b6fc9a96465 (diff)
downloadsrc-0c54932d50a0cbffdd083bf6b2e8d587902f90c9.tar.gz
src-0c54932d50a0cbffdd083bf6b2e8d587902f90c9.zip
Fix -Wundef warnings when building liblua
We need to define the LUA_FLOAT_INT64 macro even if we don't use it (copied from stand/luaconf.h). While touching luaconf.h.dist also sync it with the the 5.3.5 release version (matches the one in lib/liblua). Reviewed By: kevans Differential Revision: https://reviews.freebsd.org/D25977
Notes
Notes: svn path=/head/; revision=364767
Diffstat (limited to 'lib/liblua')
-rw-r--r--lib/liblua/luaconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/liblua/luaconf.h b/lib/liblua/luaconf.h
index bc7f5bb6e141..d13fde35fb5a 100644
--- a/lib/liblua/luaconf.h
+++ b/lib/liblua/luaconf.h
@@ -122,6 +122,7 @@
#define LUA_FLOAT_FLOAT 1
#define LUA_FLOAT_DOUBLE 2
#define LUA_FLOAT_LONGDOUBLE 3
+#define LUA_FLOAT_INT64 4
#if defined(LUA_32BITS) /* { */
/*