projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 0.9->0.10
[prosody.git]
/
util-src
/
encodings.c
diff --git
a/util-src/encodings.c
b/util-src/encodings.c
index 91826ca42f3b682fbd196b5d0ca1e7ad2d256ec0..0841e29f1ddf32ef50532066100932954f54d28f 100644
(file)
--- a/
util-src/encodings.c
+++ b/
util-src/encodings.c
@@
-21,6
+21,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[]=