aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/ios.cc
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 19:57:50 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 19:57:50 +0000
commitbf3c982edd07cea490f6e5316ef50d7fca3c7247 (patch)
treeeb3637f92d210e14b26f11edc4253e8f80172ce1 /libstdc++-v3/src/ios.cc
parent59bc598e01e292d67c32b6ae240b4544d4c234ab (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1752
'apple-gcc-1752'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1752@81802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/ios.cc')
-rw-r--r--libstdc++-v3/src/ios.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/libstdc++-v3/src/ios.cc b/libstdc++-v3/src/ios.cc
index 0dfa482d9bb..0aeb4d2ef61 100644
--- a/libstdc++-v3/src/ios.cc
+++ b/libstdc++-v3/src/ios.cc
@@ -222,4 +222,15 @@ namespace std
}
_M_callbacks = 0;
}
+
+ /* APPLE LOCAL begin make libstdc++ more fine-grained */
+#ifdef APPLE_KEYMGR
+ /* This function used to live in functexcept.cc, but now lives here to
+ avoid dragging in all of IOS when some other function in functexcept.cc
+ is called. */
+ void
+ __throw_ios_failure(const char* __s)
+ { throw ios_base::failure(__s); }
+#endif /* APPLE_KEYMGR */
+ /* APPLE LOCAL end make libstdc++ more fine-grained */
} // namespace std