aboutsummaryrefslogtreecommitdiff
path: root/src/check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/check.cc')
-rw-r--r--src/check.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/check.cc b/src/check.cc
new file mode 100644
index 0000000..5f7526e
--- /dev/null
+++ b/src/check.cc
@@ -0,0 +1,11 @@
+#include "check.h"
+
+namespace benchmark {
+namespace internal {
+
+static AbortHandlerT* handler = &std::abort;
+
+BENCHMARK_EXPORT AbortHandlerT*& GetAbortHandler() { return handler; }
+
+} // namespace internal
+} // namespace benchmark