summaryrefslogtreecommitdiff
path: root/server-tools
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@booka.>2006-11-21 21:43:24 +0300
committerunknown <anozdrin/alik@booka.>2006-11-21 21:43:24 +0300
commit836093873bf150b5e684e58ee8e15abc080d6db8 (patch)
tree2a0f3250b7ca991d4d4a7f7743041ae907ebee6a /server-tools
parente0b735ab0ddae06408b30d362020f98598dcf847 (diff)
downloadmariadb-git-836093873bf150b5e684e58ee8e15abc080d6db8.tar.gz
Short fix for Windows.
server-tools/instance-manager/manager.cc: Make it compilable on Windows.
Diffstat (limited to 'server-tools')
-rw-r--r--server-tools/instance-manager/manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/server-tools/instance-manager/manager.cc b/server-tools/instance-manager/manager.cc
index 0d190406d82..a002902bd56 100644
--- a/server-tools/instance-manager/manager.cc
+++ b/server-tools/instance-manager/manager.cc
@@ -183,6 +183,7 @@ int Manager::main()
bool shutdown_complete= FALSE;
pid_t manager_pid= getpid();
+#ifndef __WIN__
if (check_if_linux_threads(&linux_threads))
{
log_error("Can not determine thread model.");
@@ -191,6 +192,7 @@ int Manager::main()
log_info("Detected threads model: %s.",
(const char *) (linux_threads ? "LINUX threads" : "POSIX threads"));
+#endif // __WIN__
Thread_registry thread_registry;
/*