diff options
author | Stephen D. Huston <shuston@apache.org> | 2012-04-23 19:54:21 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2012-04-23 19:54:21 +0000 |
commit | 813582c0cf24fda9481d0a666be41a9e78b27452 (patch) | |
tree | 377f381856e61ec4a6785540907f5b1cb0b89d02 | |
parent | fa2d517b97721670a0c5bd55276b346e242288ba (diff) | |
download | qpid-python-813582c0cf24fda9481d0a666be41a9e78b27452.tar.gz |
Added missing externs for Windows builds. NO-JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329410 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/include/qpid/Url.h | 2 | ||||
-rw-r--r-- | qpid/cpp/src/qpid/broker/QueuedMessage.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/include/qpid/Url.h b/qpid/cpp/include/qpid/Url.h index 4c751fa2f7..b3ff9576e2 100644 --- a/qpid/cpp/include/qpid/Url.h +++ b/qpid/cpp/include/qpid/Url.h @@ -39,7 +39,7 @@ struct Url : public std::vector<Address> { * on a multi-homed host. */ QPID_COMMON_EXTERN static Url getIpAddressesUrl(uint16_t port); - QPID_COMMON_EXTERN struct Invalid : public Exception { Invalid(const std::string& s); }; + struct Invalid : public Exception { QPID_COMMON_EXTERN Invalid(const std::string& s); }; /** Convert to string form. */ QPID_COMMON_EXTERN std::string str() const; diff --git a/qpid/cpp/src/qpid/broker/QueuedMessage.h b/qpid/cpp/src/qpid/broker/QueuedMessage.h index a1435aba42..9d008193a0 100644 --- a/qpid/cpp/src/qpid/broker/QueuedMessage.h +++ b/qpid/cpp/src/qpid/broker/QueuedMessage.h @@ -22,6 +22,7 @@ #define _QueuedMessage_ #include "qpid/broker/Message.h" +#include "BrokerImportExport.h" #include <iosfwd> namespace qpid { @@ -48,7 +49,7 @@ inline bool operator<(const QueuedMessage& a, const QueuedMessage& b) { return a.position < b.position; } -std::ostream& operator<<(std::ostream&, const QueuedMessage&); +QPID_BROKER_EXTERN std::ostream& operator<<(std::ostream&, const QueuedMessage&); }} |