aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/base/init.h')
-rw-r--r--src/lib/base/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/base/init.h b/src/lib/base/init.h
index 30798b4d5..e0ac8af89 100644
--- a/src/lib/base/init.h
+++ b/src/lib/base/init.h
@@ -19,7 +19,7 @@ namespace Botan {
* case, and this class is no longer needed and kept only for backwards
* compatibility.
*/
-class BOTAN_DLL BOTAN_DEPRECATED("LibraryInitializer is no longer required") LibraryInitializer
+class BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("LibraryInitializer is no longer required") LibraryInitializer
{
public:
explicit LibraryInitializer(const std::string& /*ignored*/ = "") { }