mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Change the preprocessor macro that differs server/client builds
This commit is contained in:
@@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "log.h"
|
||||
#include "config.h"
|
||||
#include "porting.h"
|
||||
#ifndef SERVER
|
||||
#if CHECK_CLIENT_BUILD()
|
||||
#include "irr_ptr.h"
|
||||
#include <IFileArchive.h>
|
||||
#include <IFileSystem.h>
|
||||
@@ -945,7 +945,7 @@ bool safeWriteToFile(const std::string &path, std::string_view content)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifndef SERVER
|
||||
#if CHECK_CLIENT_BUILD()
|
||||
bool extractZipFile(io::IFileSystem *fs, const char *filename, const std::string &destination)
|
||||
{
|
||||
// Be careful here not to touch the global file hierarchy in Irrlicht
|
||||
|
Reference in New Issue
Block a user