New settings tab contain all possible settings
[oweals/minetest.git] / src / log.cpp
index 4f77101f932efde992e09d2c433ef6e8d9a3854f..e15bed52acb5bde99f2746a238d5b7143bf04bbc 100644 (file)
@@ -184,14 +184,14 @@ void Logger::setLevelSilenced(LogLevel lev, bool silenced)
 
 void Logger::registerThread(const std::string &name)
 {
-       threadid_t id = get_current_thread_id();
+       threadid_t id = thr_get_current_thread_id();
        MutexAutoLock lock(m_mutex);
        m_thread_names[id] = name;
 }
 
 void Logger::deregisterThread()
 {
-       threadid_t id = get_current_thread_id();
+       threadid_t id = thr_get_current_thread_id();
        MutexAutoLock lock(m_mutex);
        m_thread_names.erase(id);
 }
@@ -215,7 +215,7 @@ const std::string Logger::getThreadName()
 {
        std::map<threadid_t, std::string>::const_iterator it;
 
-       threadid_t id = get_current_thread_id();
+       threadid_t id = thr_get_current_thread_id();
        it = m_thread_names.find(id);
        if (it != m_thread_names.end())
                return it->second;