Commit f9e8b64e authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb

into poseidon.(none):/home/tomas/mysql-4.1-ndb

parents 94fc67f5 cc55f693
......@@ -2,6 +2,6 @@
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
#ifdef DEFINE_CXA_PURE_VIRTUAL
extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif
......@@ -5,6 +5,8 @@ extern "C" {
void (* ndb_new_handler)() = 0;
}
#ifdef USE_MYSYS_NEW
void *operator new (size_t sz)
{
void * p = malloc (sz ? sz : 1);
......@@ -36,3 +38,5 @@ void operator delete[] (void *ptr) throw ()
if (ptr)
free(ptr);
}
#endif // USE_MYSYS_NEW
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment