changeset 6416 | a552f4170aed |
parent 6415 | 0e94f89d0e62 |
child 6605 | 61b6a4fc65f1 |
child 6607 | 478308ee29dd |
child 6610 | 64e6b88b6b21 |
--- a/util-src/encodings.c Wed Sep 17 02:23:17 2014 +0200 +++ b/util-src/encodings.c Wed Sep 17 14:30:29 2014 +0200 @@ -20,6 +20,10 @@ #include "lua.h" #include "lauxlib.h" +#if (LUA_VERSION_NUM == 502) +#define luaL_register(L, N, R) luaL_setfuncs(L, R, 0) +#endif + /***************** BASE64 *****************/ static const char code[]=