Commit c9a50c50 authored by Marek Vavruša's avatar Marek Vavruša

daemon/engine: compat for Lua < 5.2

parent 49059e4a
......@@ -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.
*/
......
Markdown is supported
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