yangf - yet another ndb gcc/g++ fix

Hopefully last one
This commit is contained in:
joreland@mysql.com 2004-05-04 12:40:33 +02:00
parent 0ee9f5fa19
commit 917427f3b7
3 changed files with 8 additions and 8 deletions

View file

@ -53,4 +53,4 @@ LINK.cc = $(PURE) $(CC) $(CCFLAGS) $(LDFLAGS)
LINK.c = $(PURE) $(CC) $(CFLAGS) $(LDFLAGS)
LDFLAGS_LAST = -lpthread -lrt
LDFLAGS_LAST = -lpthread -lrt $(NDB_TOP)/src/common/portlib/gcc.cpp

View file

@ -0,0 +1,7 @@
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif

View file

@ -37,10 +37,3 @@ void operator delete[] (void *ptr) throw ()
if (ptr)
free(ptr);
}
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
extern "C" { int __cxa_pure_virtual() {return 0;} }
#endif