summaryrefslogtreecommitdiff
path: root/sql/mysqld.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r--sql/mysqld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h
index cb6bc849912..ed9b711a4d1 100644
--- a/sql/mysqld.h
+++ b/sql/mysqld.h
@@ -711,7 +711,7 @@ inline __attribute__((warn_unused_result)) my_thread_id next_thread_id()
}
#if defined(MYSQL_DYNAMIC_PLUGIN) && defined(_WIN32)
-extern my_thread_id next_thread_id_noinline();
+extern "C" my_thread_id next_thread_id_noinline();
#define next_thread_id() next_thread_id_noinline()
#endif