summaryrefslogtreecommitdiff
path: root/src/aux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/aux.cc')
-rw-r--r--src/aux.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/aux.cc b/src/aux.cc
new file mode 100644
index 0000000..c1590e5
--- /dev/null
+++ b/src/aux.cc
@@ -0,0 +1,13 @@
+
+#include "stdexcept.h"
+
+extern "C" void __cxa_bad_cast()
+{
+ throw std::bad_cast();
+}
+
+extern "C" void __cxa_bad_typeid()
+{
+ throw std::bad_typeid();
+}
+