From bd3c7f363d0a623ad1118fb337a38dee9a7d3b85 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/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/SocketProxy.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/src/tests/SocketProxy.h') diff --git a/cpp/src/tests/SocketProxy.h b/cpp/src/tests/SocketProxy.h index 9df32a1336..df243cb42a 100644 --- a/cpp/src/tests/SocketProxy.h +++ b/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