diff options
author | tomas@poseidon.ndb.mysql.com <> | 2004-11-15 12:40:32 +0000 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2004-11-15 12:40:32 +0000 |
commit | 16e34bd27dba2ac9593a9b845c49e44de5da5de7 (patch) | |
tree | ee9f6698fecd6c7653b7fc0f8668138e23025c75 /include | |
parent | a2177a2f351c8d2892f8e4202c2ef45118bdfe86 (diff) | |
download | mariadb-git-16e34bd27dba2ac9593a9b845c49e44de5da5de7.tar.gz |
changed compile order, mysqladmin with ndbcluster extensions needs ndb to be compiled first
added libs variable for ndbmgmclient used by mysqladmin
add linkage with @ndb_mgmclient_libs@
additional options for ndbcluster
added support for managing the cluster to mysqladmin
added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index 07d4d8dc1cc..ff59f7bfc55 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -194,10 +194,10 @@ C_MODE_END /* 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() {\ +C_MODE_START int __cxa_pure_virtual() {\ DBUG_ASSERT("Pure virtual method called." == "Aborted");\ return 0;\ -} } +} C_MODE_END #else #define FIX_GCC_LINKING_PROBLEM #endif |