[vlc-commits] lua: fix build with lua 5.4
Francois Cartegnie
git at videolan.org
Mon Mar 8 14:46:34 UTC 2021
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Mar 8 10:06:57 2021 +0100| [372a93c0286653cb2f45df19905bb728adf16960] | committer: Francois Cartegnie
lua: fix build with lua 5.4
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=372a93c0286653cb2f45df19905bb728adf16960
---
modules/lua/vlc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
index 71f381d334..8791ba57f9 100644
--- a/modules/lua/vlc.h
+++ b/modules/lua/vlc.h
@@ -38,6 +38,7 @@
#include <vlc_stream.h>
#include <vlc_demux.h>
+#define LUA_COMPAT_APIINTCASTS /* luaL_checkint / luaL_optlong */
#define LUA_COMPAT_MODULE
#include <lua.h> /* Low level lua C API */
#include <lauxlib.h> /* Higher level C API */
More information about the vlc-commits
mailing list