Adjust for new G++ name mangling convention.
From Niklas Hallquist, PR 1557.
This commit is contained in:
parent
47246947c7
commit
c4bba69708
@ -53,10 +53,18 @@
|
||||
#define vt_filebuf __vtbl__7filebuf
|
||||
extern char vt_filebuf[1];
|
||||
#elif _G_DOLLAR_IN_LABEL
|
||||
#if __GNUC_MAJOR__ > 2 || __GNUC_MINOR__ >= 5
|
||||
extern char vt_filebuf[1] asm(UNDERSCORE "_vt$7filebuf");
|
||||
#else
|
||||
extern char vt_filebuf[1] asm(UNDERSCORE "_vt$filebuf");
|
||||
#endif
|
||||
#else
|
||||
#if __GNUC_MAJOR__ > 2 || __GNUC_MINOR__ >= 5
|
||||
extern char vt_filebuf[1] asm(UNDERSCORE "_vt.7filebuf");
|
||||
#else
|
||||
extern char vt_filebuf[1] asm(UNDERSCORE "_vt.filebuf");
|
||||
#endif
|
||||
#endif
|
||||
#endif /* !defined(vt_filebuf) */
|
||||
|
||||
struct _fake_filebuf {
|
||||
@ -85,10 +93,18 @@ DEF_FILEBUF(__std_filebuf_2, 2, (streambuf*)&__std_filebuf_1,
|
||||
#define vt_stdiobuf __vtbl__8stdiobuf
|
||||
extern char vt_stdiobuf[1];
|
||||
#elif _G_DOLLAR_IN_LABEL
|
||||
#if __GNUC_MAJOR__ > 2 || __GNUC_MINOR__ >= 5
|
||||
extern char vt_stdiobuf[1] asm(UNDERSCORE "_vt$8stdiobuf");
|
||||
#else
|
||||
extern char vt_stdiobuf[1] asm(UNDERSCORE "_vt$stdiobuf");
|
||||
#endif
|
||||
#else
|
||||
#if __GNUC_MAJOR__ > 2 || __GNUC_MINOR__ >= 5
|
||||
extern char vt_stdiobuf[1] asm(UNDERSCORE "_vt.8stdiobuf");
|
||||
#else
|
||||
extern char vt_stdiobuf[1] asm(UNDERSCORE "_vt.stdiobuf");
|
||||
#endif
|
||||
#endif
|
||||
#endif /* !defined(vt_stdiobuf) */
|
||||
|
||||
struct _fake_stdiobuf {
|
||||
|
Loading…
Reference in New Issue
Block a user