diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-10-21 21:53:53 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-10-21 21:53:53 +0000 |
commit | bd3c7f363d0a623ad1118fb337a38dee9a7d3b85 (patch) | |
tree | 4498dbfed67bb9d774735465df22ac3e92c797b3 /cpp/src/tests/SocketProxy.h | |
parent | 6ffba51e70414f0dfe3d641e7fe82622911f154a (diff) | |
download | qpid-python-bd3c7f363d0a623ad1118fb337a38dee9a7d3b85.tar.gz |
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
Diffstat (limited to 'cpp/src/tests/SocketProxy.h')
-rw-r--r-- | cpp/src/tests/SocketProxy.h | 4 |
1 files changed, 4 insertions, 0 deletions
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: |