From 1b72f3618b901f017fc4f5db5dbaad72ca79243a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 23 Jan 2007 16:42:03 +0200 Subject: Avoid compiler warnings on powermacg5 Fixed compilation error when trying to compile libmysqld on powermac configure.in: Added flag if __cxa_pure_virtual() should be defined. Without this flag, we get a warning from my_global.h for every compiled file on powermacg5 extra/yassl/taocrypt/include/type_traits.hpp: Avoid compiler warning include/my_global.h: Avoid compiler warning on powermacg5 sql/mysqld.cc: Fix compiler error when compiling embedded on powermac --- sql/mysqld.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 15580f944a4..7a19e26a8b7 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -900,7 +900,7 @@ void kill_mysql(void) { DBUG_ENTER("kill_mysql"); -#ifdef SIGNALS_DONT_BREAK_READ +#if defined(SIGNALS_DONT_BREAK_READ) && !defined(EMBEDDED_LIBRARY) abort_loop=1; // Break connection loops close_server_sock(); // Force accept to wake up #endif -- cgit v1.2.1