summaryrefslogtreecommitdiff
path: root/src/stubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stubs.cpp')
-rw-r--r--src/stubs.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stubs.cpp b/src/stubs.cpp
index d8b1ecbc..138877d3 100644
--- a/src/stubs.cpp
+++ b/src/stubs.cpp
@@ -15,13 +15,17 @@ extern "C" {
#endif
#include <errno.h>
+#include <stdlib.h>
#include <wchar.h>
#include <support/android/nl_types.h>
static void unimplemented_stub(const char* function) {
- const char* fmt = "%s(3) is not implemented on Android\n";
+ const char* fmt = "%s(3) is stubbed out in libcxx\n";
fprintf(stderr, fmt, function);
+#if 0 // Enable if you're trying to find out who's calling...
+ abort();
+#endif
}
#define UNIMPLEMENTED unimplemented_stub(__PRETTY_FUNCTION__)