From 836093873bf150b5e684e58ee8e15abc080d6db8 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 Nov 2006 21:43:24 +0300 Subject: [PATCH] Short fix for Windows. server-tools/instance-manager/manager.cc: Make it compilable on Windows. --- server-tools/instance-manager/manager.cc | 2 ++ 1 file changed, 2 insertions(+) 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; /*