]> git.lizzy.rs Git - minetest.git/blobdiff - src/main.cpp
Display Lua memory usage at the time of Out-of-Memory error
[minetest.git] / src / main.cpp
index dc0a01f805ea1fdbc593f0d1491fdc8ddb17343c..1d73b40253003a6a37140e33daae2375cd13a61e 100644 (file)
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "mainmenumanager.h"
 #include "irrlichttypes_extrabloated.h"
 #include "debug.h"
-#include "test.h"
+#include "unittest/test.h"
 #include "server.h"
 #include "filesys.h"
 #include "version.h"
@@ -40,7 +40,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "game.h"
 #include "defaultsettings.h"
 #include "gettext.h"
-#include "profiler.h"
 #include "log.h"
 #include "quicktune.h"
 #include "httpfetch.h"
@@ -347,7 +346,7 @@ static void print_allowed_options(const OptionList &allowed_options)
 
 static void print_version()
 {
-       dstream << PROJECT_NAME " " << g_version_hash << std::endl;
+       dstream << PROJECT_NAME_C " " << g_version_hash << std::endl;
 #ifndef SERVER
        dstream << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
 #endif