summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/shlib.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index fa88cc4b484c..e3791ac12a00 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -160,6 +160,8 @@ css::uno::Reference<css::uno::XInterface> invokeComponentFactory(
}
}
+#if !defined DISABLE_DYNLOADING
+
extern "C" void getInstance(va_list * args) {
cppuhelper::ImplementationConstructorFn * fn = va_arg(*args, cppuhelper::ImplementationConstructorFn *);
void * ctxt = va_arg(*args, void *);
@@ -224,6 +226,8 @@ cppuhelper::WrapperConstructorFn mapConstructorFn(
}
}
+#endif
+
}
void cppuhelper::detail::loadSharedLibComponentFactory(