fix lua and luajit conflict

This commit is contained in:
Sergwest
2024-03-20 22:38:41 +03:00
parent 1571d9c73b
commit c80d96a5ed
3 changed files with 13 additions and 6 deletions
+6
View File
@@ -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 {