headers: Drop _G_config.h from public headers.

Adjust the two legacy stdc++ headers that still included it;
it seems they didn't themselves depend on any of the definitions it
contained. However, streambuf.h actually did, so put that definition in
libio.h so that it's always present.

(The stdc++ implementation will get the 'real' _G_config.h from
libroot glibc.)
This commit is contained in:
Augustin Cavalier
2025-03-13 17:23:44 -04:00
parent 1799deddfd
commit aa3a5e7698
5 changed files with 1 additions and 153 deletions
-4
View File
@@ -55,12 +55,8 @@ extern "C" {
#endif
#ifndef _IO_wchar_t
#if _G_IO_IO_FILE_VERSION == 0x20001
#define _IO_wchar_t _G_wchar_t
#else
#define _IO_wchar_t wchar_t
#endif
#endif
extern "C++" {
class istream; /* Work-around for a g++ name mangling bug. Fixed in 2.6. */