Skip to content

Commit 37280da

Browse files
committed
Fix luajit compile.
1 parent 6485473 commit 37280da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ElunaCompat.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ extern "C"
1111
{
1212
#include "lua.h"
1313
#include "lauxlib.h"
14+
#if __has_include(<luajit.h>)
15+
#include <luajit.h>
16+
#endif
1417
};
1518

1619
/* Compatibility layer for compiling with Lua 5.1 or LuaJIT */

0 commit comments

Comments
 (0)