summaryrefslogtreecommitdiffstats
path: root/src/dynamic_load_unsupported.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dynamic_load_unsupported.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dynamic_load_unsupported.cpp b/src/dynamic_load_unsupported.cpp
new file mode 100644
index 0000000..fd0d767
--- /dev/null
+++ b/src/dynamic_load_unsupported.cpp
@@ -0,0 +1,10 @@
+#include <opentracing/dynamic_load.h>
+
+namespace opentracing {
+BEGIN_OPENTRACING_ABI_NAMESPACE
+expected<DynamicTracingLibraryHandle> DynamicallyLoadTracingLibrary(
+ const char* /*shared_library*/, std::string& /*error_message*/) noexcept {
+ return make_unexpected(dynamic_load_not_supported_error);
+}
+END_OPENTRACING_ABI_NAMESPACE
+} // namespace opentracing