summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/Debug.h6
-rw-r--r--Swiften/Base/SafeAllocator.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Base/Debug.h b/Swiften/Base/Debug.h
index 9dde74c..a6d000f 100644
--- a/Swiften/Base/Debug.h
+++ b/Swiften/Base/Debug.h
@@ -19,8 +19,8 @@ namespace boost {
template<class T> class shared_ptr;
}
-std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error);
-std::ostream& operator<<(std::ostream& os, Swift::Element* ele);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::Element* ele);
-std::ostream& operator<<(std::ostream& os, Swift::ClientSession::State state);
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::ClientSession::State state);
diff --git a/Swiften/Base/SafeAllocator.cpp b/Swiften/Base/SafeAllocator.cpp
index 446ed2d..df51e20 100644
--- a/Swiften/Base/SafeAllocator.cpp
+++ b/Swiften/Base/SafeAllocator.cpp
@@ -13,7 +13,7 @@
namespace Swift {
-void secureZeroMemory(char* memory, size_t numberOfBytes) {
+SWIFTEN_API void secureZeroMemory(char* memory, size_t numberOfBytes) {
#ifdef SWIFTEN_PLATFORM_WINDOWS
SecureZeroMemory(memory, numberOfBytes);
#else