Adjust for new G++ name mangling convention.

From Niklas Hallquist, PR 1557.
This commit is contained in:
mycroft 1996-02-08 03:43:31 +00:00
parent 47246947c7
commit c4bba69708
1 changed files with 16 additions and 0 deletions

View File

@ -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 {