make resource_file required
This commit is contained in:
+1
-10
@@ -17,11 +17,7 @@
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
|
||||
#ifdef HAVE_RESOURCE_FILE
|
||||
#include "AddressTranslator.hh"
|
||||
#else
|
||||
#include "AddressTranslator-Stub.hh"
|
||||
#endif
|
||||
#include "BMLArchive.hh"
|
||||
#include "CatSession.hh"
|
||||
#include "Compression.hh"
|
||||
@@ -3177,12 +3173,7 @@ Action a_run_server_replay_log(
|
||||
"", nullptr, +[](phosg::Arguments& args) {
|
||||
{
|
||||
string build_date = phosg::format_time(BUILD_TIMESTAMP);
|
||||
#ifdef HAVE_RESOURCE_FILE
|
||||
const char* resource_file_str = " with client function support";
|
||||
#else
|
||||
const char* resource_file_str = " without client function support";
|
||||
#endif
|
||||
config_log.info("newserv %s compiled%s at %s", GIT_REVISION_HASH, resource_file_str, build_date.c_str());
|
||||
config_log.info("newserv %s compiled at %s", GIT_REVISION_HASH, build_date.c_str());
|
||||
}
|
||||
|
||||
if (evthread_use_pthreads()) {
|
||||
|
||||
Reference in New Issue
Block a user