summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2012-04-23 19:54:21 +0000
committerStephen D. Huston <shuston@apache.org>2012-04-23 19:54:21 +0000
commit2573939724c4e99ad027271dffd3ce1df1df4731 (patch)
tree5f7290824de1e2e38aed400985c1d58f453a3560
parent9cd92e3d26c639d49ee803c6fc3c07d604867e8c (diff)
downloadqpid-python-2573939724c4e99ad027271dffd3ce1df1df4731.tar.gz
Added missing externs for Windows builds. NO-JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1329410 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/include/qpid/Url.h2
-rw-r--r--cpp/src/qpid/broker/QueuedMessage.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/cpp/include/qpid/Url.h b/cpp/include/qpid/Url.h
index 4c751fa2f7..b3ff9576e2 100644
--- a/cpp/include/qpid/Url.h
+++ b/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/cpp/src/qpid/broker/QueuedMessage.h b/cpp/src/qpid/broker/QueuedMessage.h
index a1435aba42..9d008193a0 100644
--- a/cpp/src/qpid/broker/QueuedMessage.h
+++ b/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&);
}}