Restore Darling Specific Changes

This commit is contained in:
Thomas A 2023-02-04 18:31:28 -08:00
parent 481cc35f7c
commit f869d3b5f9
2 changed files with 8 additions and 0 deletions

View File

@ -74,7 +74,11 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if BUILDING_LIBSTDCXX
__attribute__((used))
#ifdef DARLING
virtual ~stdio_sync_filebuf() noexcept {}
#else
virtual ~stdio_sync_filebuf() {}
#endif // DARLING
#endif
/**

View File

@ -117,7 +117,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
#if BUILDING_LIBSTDCXX
__attribute__((used))
#ifdef DARLING
~basic_stringbuf() noexcept {}
#else
~basic_stringbuf() {}
#endif // DARLING
#endif
// Get and set: