From 813582c0cf24fda9481d0a666be41a9e78b27452 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Mon, 23 Apr 2012 19:54:21 +0000 Subject: 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 --- qpid/cpp/include/qpid/Url.h | 2 +- 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
{ * 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 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&); }} -- cgit v1.2.1