From d46e946db8b25ddc34715e2e86c1e561f8381810 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov <vitalyster@gmail.com>
Date: Fri, 16 Jun 2017 10:46:45 +0300
Subject: Add missing SWIFTEN_API declarations

License:
This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.

Test-Information:
Tested performed under Windows 10 1703

Change-Id: I332923986c8d62b75a76ef9f784811d09a662f22

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
-- 
cgit v0.10.2-6-g49f6