summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-04-30 21:09:51 +0000
committerStephen D. Huston <shuston@apache.org>2009-04-30 21:09:51 +0000
commit3259c3b084ee104f4773e5e9e7f06c756907bfc1 (patch)
tree491a71e466425b14e8bb7065eb4f5f842b8af407 /qpid/cpp
parentf65ae661fc0825680981e7f67fdd38fad29199d6 (diff)
downloadqpid-python-3259c3b084ee104f4773e5e9e7f06c756907bfc1.tar.gz
Add extern for run() so tests can link correctly on Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@770446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/client/Dispatcher.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/Dispatcher.h b/qpid/cpp/src/qpid/client/Dispatcher.h
index 197d3591aa..9b8a6de908 100644
--- a/qpid/cpp/src/qpid/client/Dispatcher.h
+++ b/qpid/cpp/src/qpid/client/Dispatcher.h
@@ -29,6 +29,7 @@
#include "qpid/sys/Mutex.h"
#include "qpid/sys/Runnable.h"
#include "qpid/sys/Thread.h"
+#include "ClientImportExport.h"
#include "MessageListener.h"
#include "SubscriptionImpl.h"
@@ -65,7 +66,9 @@ public:
void start();
void wait();
- void run();
+ // As this class is marked 'internal', no extern should be made here;
+ // however, some test programs rely on it.
+ QPID_CLIENT_EXTERN void run();
void stop();
void setAutoStop(bool b);