Skip to content
Snippets Groups Projects
Commit c9a50c50 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

daemon/engine: compat for Lua < 5.2

parent 49059e4a
Branches
Tags
No related merge requests found
......@@ -27,6 +27,11 @@
#include "lib/cache.h"
#include "lib/defines.h"
/** @internal Compatibility wrapper for Lua < 5.2 */
#if LUA_VERSION_NUM < 502
#define lua_rawlen(L, obj) lua_objlen((L), (obj))
#endif
/*
* Global bindings.
*/
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment