Skip to content

Commit 7f7d48c

Browse files
committed
luajit: Enable Lua 5.2 Compat
1 parent 878e907 commit 7f7d48c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

luajit/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ jnigen {
136136
cExcludes = ['luajit/**/*']
137137
libraries += ' -lm -lluajit '
138138
headerDirs = ['../../jni/luajava', 'luajit/src', 'mod']
139+
cFlags += ' -DLUAJIT_ENABLE_LUA52COMPAT'
140+
cppFlags += ' -DLUAJIT_ENABLE_LUA52COMPAT'
139141
}
140142

141143
add(Linux, x64, x86, {

0 commit comments

Comments
 (0)