From f160def29510816bf5fcd39030bfa9857d82b90f Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Sun, 30 Jun 2002 23:04:11 +0300 Subject: Fix problem with gcc 3.1 --- include/my_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/my_global.h b/include/my_global.h index c13b79cbc1f..8dd509b9b54 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -152,7 +152,7 @@ /* Fix problem when linking c++ programs with gcc 3.x */ #ifdef DEFINE_CXA_PURE_VIRTUAL -#define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {} } +#define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {return 0;} } #else #define FIX_GCC_LINKING_PROBLEM #endif -- cgit v1.2.1