* Turns out that the "upper" half of the old (gcc2) libio - the C++ classes -
keeps its own idea about what a wchar_t is and that was still a short. This of course made the data structure of a streambuf incompatible with the "lower" half - the glibc part - causing (potentially all sorts of) crashes when these classes were used. This should fix the crash of gensyscalls when building haiku natively on a gcc2-haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,7 +58,7 @@ extern "C" {
|
|||||||
#if _G_IO_IO_FILE_VERSION == 0x20001
|
#if _G_IO_IO_FILE_VERSION == 0x20001
|
||||||
#define _IO_wchar_t _G_wchar_t
|
#define _IO_wchar_t _G_wchar_t
|
||||||
#else
|
#else
|
||||||
#define _IO_wchar_t short
|
#define _IO_wchar_t wchar_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user