Commit a00152e9 authored by unknown's avatar unknown

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

into mc05.(none):/space2/tomas/mysql-4.1

parents 9b2682e6 f9e8b64e
......@@ -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