[vlc-devel] [PATCH 1/2] lua: fix build using lua 5.3
Rémi Denis-Courmont
remi at remlab.net
Sat Feb 24 08:21:32 CET 2018
Le lauantaina 24. helmikuuta 2018, 3.14.02 EET Martchus a écrit :
> From: Marius Kittler <martchus at gmx.net>
>
> ---
> modules/lua/vlc.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h
> index 71f381d334..b46b5f67a1 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
> #define LUA_COMPAT_MODULE
> #include <lua.h> /* Low level lua C API */
> #include <lauxlib.h> /* Higher level C API */
Compiling is one thing, but does it actually run the scripts correctly? As I
recall, it is not that simple to get Lua 5.3 compatibility.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list