diff options
Diffstat (limited to 'src/lib/elua')
-rw-r--r-- | src/lib/elua/elua_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h index 9f62c5ff4b..35c4f85641 100644 --- a/src/lib/elua/elua_private.h +++ b/src/lib/elua/elua_private.h | |||
@@ -28,6 +28,11 @@ | |||
28 | #include <lualib.h> | 28 | #include <lualib.h> |
29 | #include <lauxlib.h> | 29 | #include <lauxlib.h> |
30 | 30 | ||
31 | // FIX for luajit 2.1.0-beta3: see https://phab.enlightenment.org/T2728 | ||
32 | #ifndef luaL_reg | ||
33 | # define luaL_reg luaL_Reg | ||
34 | #endif | ||
35 | |||
31 | #include "Elua.h" | 36 | #include "Elua.h" |
32 | 37 | ||
33 | struct _Elua_State | 38 | struct _Elua_State |