summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-03-05 18:30:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-03-05 18:30:05 (GMT)
commit58a460f442dd85a351cc19edaf390936836dfe1a (patch)
treeef7788392d56f5f7e5791331983eed9ffe537843
parentca7a45a25c2fe332fad1ee3f7a2822415c249206 (diff)
downloadswift-58a460f442dd85a351cc19edaf390936836dfe1a.zip
swift-58a460f442dd85a351cc19edaf390936836dfe1a.tar.bz2
Fix DLL linkage.
Change-Id: Ia1ded5b7d4d7df500fc1df1a741a56d81de16b67
-rw-r--r--Swiften/History/SQLiteHistoryStorage.h3
-rw-r--r--Swiften/JID/JID.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/History/SQLiteHistoryStorage.h b/Swiften/History/SQLiteHistoryStorage.h
index dd526b1..524247d 100644
--- a/Swiften/History/SQLiteHistoryStorage.h
+++ b/Swiften/History/SQLiteHistoryStorage.h
@@ -8,13 +8,14 @@
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/History/HistoryStorage.h>
#include <boost/thread.hpp>
struct sqlite3;
namespace Swift {
- class SQLiteHistoryStorage : public HistoryStorage {
+ class SWIFTEN_API SQLiteHistoryStorage : public HistoryStorage {
public:
SQLiteHistoryStorage(const std::string& file);
~SQLiteHistoryStorage();
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 3ccf7de..ea4bd43 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -146,7 +146,7 @@ namespace Swift {
return compare(b, Swift::JID::WithResource) < 0;
}
- friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
friend bool operator==(const Swift::JID& a, const Swift::JID& b) {
return a.compare(b, Swift::JID::WithResource) == 0;
@@ -168,6 +168,6 @@ namespace Swift {
std::string resource_;
};
- std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
}