From eb7dfacb4683303e3412e62f160078971d496523 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 30 Apr 2009 21:09:51 +0000 Subject: Add extern for run() so tests can link correctly on Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770446 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Dispatcher.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/client') diff --git a/cpp/src/qpid/client/Dispatcher.h b/cpp/src/qpid/client/Dispatcher.h index 197d3591aa..9b8a6de908 100644 --- a/cpp/src/qpid/client/Dispatcher.h +++ b/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); -- cgit v1.2.1