mirror of
https://github.com/darlinghq/darling-libstdcxx.git
synced 2024-11-26 21:50:24 +00:00
Restore Darling Specific Changes
This commit is contained in:
parent
481cc35f7c
commit
f869d3b5f9
@ -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
|
||||
|
||||
/**
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user