Commit 9fd13ba9 authored by kent@mysql.com's avatar kent@mysql.com
Browse files

my_global.h:

  Make __cxa_pure_virtual weak symbol
parent 28fa86f4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -453,6 +453,17 @@ typedef unsigned short ushort;
#define __attribute__(A)
#endif

/*
  Wen using the embedded library, users might run into link problems,
  dupicate declaration of __cxa_pure_virtual, solved by declaring it a
  weak symbol.
*/
#ifdef USE_MYSYS_NEW
C_MODE_START
int __cxa_pure_virtual () __attribute__ ((weak));
C_MODE_END
#endif

/* From old s-system.h */

/*