Commit f15d3d8a authored by joerg@trift2's avatar joerg@trift2

Fix bug#24023: Let "ndb/src/common/portlib/gcc.cpp" export a dummy symbol.

parent 6a28c436
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
*/ */
#ifdef DEFINE_CXA_PURE_VIRTUAL #ifdef DEFINE_CXA_PURE_VIRTUAL
extern "C" { int __cxa_pure_virtual() { return 0;} } extern "C" { int __cxa_pure_virtual() { return 0;} }
#else
/* Some compiler/linker combinations fail on files without exported symbols. */
extern "C" { int dummy_export_symbol() { return 0;} }
#endif #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