From bc24dd44e6eb170a428d419087a4d528cb11558c Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 21 Oct 2009 21:53:53 +0000 Subject: Tidied up dependencies in IOHandle so that it is no longer dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@828230 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/SocketProxy.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qpid/cpp/src/tests/SocketProxy.h') diff --git a/qpid/cpp/src/tests/SocketProxy.h b/qpid/cpp/src/tests/SocketProxy.h index 9df32a1336..df243cb42a 100644 --- a/qpid/cpp/src/tests/SocketProxy.h +++ b/qpid/cpp/src/tests/SocketProxy.h @@ -47,7 +47,11 @@ class SocketProxy : private qpid::sys::Runnable // Need a Socket we can get the fd from class LowSocket : public qpid::sys::Socket { public: +#ifdef _WIN32 + FdType getFd() { return toSocketHandle(*this); } +#else FdType getFd() { return toFd(impl); } +#endif }; public: -- cgit v1.2.1