aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/compression.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/compression/compression.h')
-rw-r--r--src/lib/compression/compression.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/compression/compression.h b/src/lib/compression/compression.h
index ad5ed45c5..8757d9118 100644
--- a/src/lib/compression/compression.h
+++ b/src/lib/compression/compression.h
@@ -16,7 +16,7 @@ namespace Botan {
/*
* Interface for a compression algorithm.
*/
-class BOTAN_DLL Compression_Algorithm
+class BOTAN_PUBLIC_API(2,0) Compression_Algorithm
{
public:
/**
@@ -62,7 +62,7 @@ class BOTAN_DLL Compression_Algorithm
/*
* Interface for a decompression algorithm.
*/
-class BOTAN_DLL Decompression_Algorithm
+class BOTAN_PUBLIC_API(2,0) Decompression_Algorithm
{
public:
/**
@@ -100,8 +100,8 @@ class BOTAN_DLL Decompression_Algorithm
virtual ~Decompression_Algorithm() {}
};
-BOTAN_DLL Compression_Algorithm* make_compressor(const std::string& type);
-BOTAN_DLL Decompression_Algorithm* make_decompressor(const std::string& type);
+BOTAN_PUBLIC_API(2,0) Compression_Algorithm* make_compressor(const std::string& type);
+BOTAN_PUBLIC_API(2,0) Decompression_Algorithm* make_decompressor(const std::string& type);
/**
* Adapts a zlib style API