diff options
Diffstat (limited to 'cpp/src/Ice/Transceiver.h')
-rw-r--r-- | cpp/src/Ice/Transceiver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/Transceiver.h b/cpp/src/Ice/Transceiver.h index 7fa185e4454..1648abb2793 100644 --- a/cpp/src/Ice/Transceiver.h +++ b/cpp/src/Ice/Transceiver.h @@ -14,6 +14,10 @@ #include <IceUtil/Shared.h> #include <Ice/TransceiverF.h> +#ifndef WIN32 +# define SOCKET int +#endif + namespace IceInternal { @@ -23,7 +27,7 @@ class Transceiver : public ::IceUtil::Shared { public: - virtual int fd() = 0; + virtual SOCKET fd() = 0; virtual void close() = 0; virtual void shutdown() = 0; virtual void write(Buffer&, int) = 0; |