aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/data_src.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/data_src.h')
-rw-r--r--src/lib/utils/data_src.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/utils/data_src.h b/src/lib/utils/data_src.h
index 81840e913..8a170fdff 100644
--- a/src/lib/utils/data_src.h
+++ b/src/lib/utils/data_src.h
@@ -18,7 +18,7 @@ namespace Botan {
/**
* This class represents an abstract data source object.
*/
-class BOTAN_DLL DataSource
+class BOTAN_PUBLIC_API(2,0) DataSource
{
public:
/**
@@ -95,7 +95,7 @@ class BOTAN_DLL DataSource
/**
* This class represents a Memory-Based DataSource
*/
-class BOTAN_DLL DataSource_Memory : public DataSource
+class BOTAN_PUBLIC_API(2,0) DataSource_Memory : public DataSource
{
public:
size_t read(uint8_t[], size_t) override;
@@ -140,7 +140,7 @@ class BOTAN_DLL DataSource_Memory : public DataSource
/**
* This class represents a Stream-Based DataSource.
*/
-class BOTAN_DLL DataSource_Stream : public DataSource
+class BOTAN_PUBLIC_API(2,0) DataSource_Stream : public DataSource
{
public:
size_t read(uint8_t[], size_t) override;