diff options
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 |
commit | bf3c982edd07cea490f6e5316ef50d7fca3c7247 (patch) | |
tree | eb3637f92d210e14b26f11edc4253e8f80172ce1 /libstdc++-v3/libsupc++/pure.cc | |
parent | 59bc598e01e292d67c32b6ae240b4544d4c234ab (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/libsupc++/pure.cc')
-rw-r--r-- | libstdc++-v3/libsupc++/pure.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libstdc++-v3/libsupc++/pure.cc b/libstdc++-v3/libsupc++/pure.cc index 66ccb7d12dd..fb31d54c2ca 100644 --- a/libstdc++-v3/libsupc++/pure.cc +++ b/libstdc++-v3/libsupc++/pure.cc @@ -27,8 +27,12 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. +/* APPLE LOCAL begin libcc_kext */ +#ifndef LIBCC_KEXT /* Kludge: easier than identifying correct -Ipath, and unnecessary for kext */ #include <bits/c++config.h> #include "unwind-cxx.h" +#endif +/* APPLE LOCAL end libcc_kext */ #ifdef _GLIBCXX_HAVE_UNISTD_H # include <unistd.h> @@ -46,6 +50,14 @@ extern "C" void __cxa_pure_virtual (void) { + +/* APPLE LOCAL begin libcc_kext */ +#ifndef LIBCC_KEXT writestr ("pure virtual method called\n"); std::terminate (); +#else + extern void panic (void); + panic (); +#endif +/* APPLE LOCAL end libcc_kext */ } |