summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 89f95ccf1ed..231aa651603 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -1815,7 +1815,7 @@ static const char *thread_handling_names[]=
0
};
-#ifdef _WIN32
+#if defined (_WIN32) && defined (HAVE_POOL_OF_THREADS)
/* Windows is using OS threadpool, so we're pretty sure it works well */
#define DEFAULT_THREAD_HANDLING 2
#else