Commit 917427f3 authored by joreland@mysql.com's avatar joreland@mysql.com

yangf - yet another ndb gcc/g++ fix

Hopefully last one
parent 0ee9f5fa
......@@ -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
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif
......@@ -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
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