From 1257f8024cd226fcf2c068c03198e126f9a9ab33 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 7 Jun 2013 15:10:50 +0200 Subject: [PATCH] Fixed visibility attribute position for GCC. --- vmime/utility/outputStream.hpp | 4 ++-- vmime/utility/streamUtils.hpp | 6 +++--- vmime/utility/stringProxy.hpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vmime/utility/outputStream.hpp b/vmime/utility/outputStream.hpp index 419626ef..99e1e41b 100644 --- a/vmime/utility/outputStream.hpp +++ b/vmime/utility/outputStream.hpp @@ -60,8 +60,8 @@ public: // Helpers functions -outputStream& VMIME_EXPORT operator<<(outputStream& os, const string& str); -outputStream& VMIME_EXPORT operator<<(outputStream& os, const stream::value_type c); +VMIME_EXPORT outputStream& operator<<(outputStream& os, const string& str); +VMIME_EXPORT outputStream& operator<<(outputStream& os, const stream::value_type c); #if defined(_MSC_VER) && (_MSC_VER <= 1200) // Internal compiler error with VC++6 diff --git a/vmime/utility/streamUtils.hpp b/vmime/utility/streamUtils.hpp index ce7a51d6..c9d63347 100644 --- a/vmime/utility/streamUtils.hpp +++ b/vmime/utility/streamUtils.hpp @@ -42,7 +42,7 @@ namespace utility { * @return number of bytes copied */ -stream::size_type VMIME_EXPORT bufferedStreamCopy(inputStream& is, outputStream& os); +VMIME_EXPORT stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os); /** Copy data from one stream into another stream using a buffered method * and copying only a specified range of data. @@ -54,7 +54,7 @@ stream::size_type VMIME_EXPORT bufferedStreamCopy(inputStream& is, outputStream& * @return number of bytes copied */ -stream::size_type VMIME_EXPORT bufferedStreamCopyRange(inputStream& is, outputStream& os, +VMIME_EXPORT stream::size_type bufferedStreamCopyRange(inputStream& is, outputStream& os, const stream::size_type start, const stream::size_type length); /** Copy data from one stream into another stream using a buffered method @@ -67,7 +67,7 @@ stream::size_type VMIME_EXPORT bufferedStreamCopyRange(inputStream& is, outputSt * @return number of bytes copied */ -stream::size_type VMIME_EXPORT bufferedStreamCopy(inputStream& is, outputStream& os, +VMIME_EXPORT stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os, const stream::size_type length, progressListener* progress); diff --git a/vmime/utility/stringProxy.hpp b/vmime/utility/stringProxy.hpp index e4b8f834..4815c5f1 100644 --- a/vmime/utility/stringProxy.hpp +++ b/vmime/utility/stringProxy.hpp @@ -85,8 +85,8 @@ private: }; -std::ostream& VMIME_EXPORT operator<<(std::ostream& os, const stringProxy& s); -outputStream& VMIME_EXPORT operator<<(outputStream& os, const stringProxy& s); +VMIME_EXPORT std::ostream& operator<<(std::ostream& os, const stringProxy& s); +VMIME_EXPORT outputStream& operator<<(outputStream& os, const stringProxy& s); } // utility