Commit 720e352a authored by anozdrin/alik@booka's avatar anozdrin/alik@booka

Short fix for Windows.

parent 96ce9e79
...@@ -183,6 +183,7 @@ int Manager::main() ...@@ -183,6 +183,7 @@ int Manager::main()
bool shutdown_complete= FALSE; bool shutdown_complete= FALSE;
pid_t manager_pid= getpid(); pid_t manager_pid= getpid();
#ifndef __WIN__
if (check_if_linux_threads(&linux_threads)) if (check_if_linux_threads(&linux_threads))
{ {
log_error("Can not determine thread model."); log_error("Can not determine thread model.");
...@@ -191,6 +192,7 @@ int Manager::main() ...@@ -191,6 +192,7 @@ int Manager::main()
log_info("Detected threads model: %s.", log_info("Detected threads model: %s.",
(const char *) (linux_threads ? "LINUX threads" : "POSIX threads")); (const char *) (linux_threads ? "LINUX threads" : "POSIX threads"));
#endif // __WIN__
Thread_registry thread_registry; Thread_registry thread_registry;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment