mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-10 04:10:45 +01:00
few fixes for <luajit/lua.hpp> and config.lua
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
#ifndef FS_CONFIGMANAGER_H_6BDD23BD0B8344F4B7C40E8BE6AF6F39
|
||||
#define FS_CONFIGMANAGER_H_6BDD23BD0B8344F4B7C40E8BE6AF6F39
|
||||
|
||||
#if __has_include("luajit/lua.hpp")
|
||||
#include <luajit/lua.hpp>
|
||||
#else
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
|
||||
class ConfigManager
|
||||
{
|
||||
|
||||
@@ -20,7 +20,11 @@
|
||||
#ifndef FS_LUASCRIPT_H_5344B2BC907E46E3943EA78574A212D8
|
||||
#define FS_LUASCRIPT_H_5344B2BC907E46E3943EA78574A212D8
|
||||
|
||||
#if __has_include("luajit/lua.hpp")
|
||||
#include <luajit/lua.hpp>
|
||||
#else
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
|
||||
#if LUA_VERSION_NUM >= 502
|
||||
#ifndef LUA_COMPAT_ALL
|
||||
|
||||
Reference in New Issue
Block a user