mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix lua and luajit conflict
This commit is contained in:
parent
1571d9c73b
commit
c80d96a5ed
3 changed files with 13 additions and 6 deletions
|
|
@ -1,7 +1,13 @@
|
|||
#ifndef LOGIC_SCRIPTING_LUA_H_
|
||||
#define LOGIC_SCRIPTING_LUA_H_
|
||||
|
||||
#ifdef __linux__
|
||||
#include <lua/lua.hpp>
|
||||
#undef luaconf_h
|
||||
#include <luaconf.h>
|
||||
#else
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
#include <exception>
|
||||
|
||||
namespace lua {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue