From 917881aa48e31860a7162e476d79d64bba6ef10b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Aug 2017 13:15:57 +0200 Subject: [PATCH] net/SocketDescriptors: IsValid() is not available on Windows --- src/net/SocketDescriptor.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/SocketDescriptor.hxx b/src/net/SocketDescriptor.hxx index 96d7cdc35..bd8f8fed0 100644 --- a/src/net/SocketDescriptor.hxx +++ b/src/net/SocketDescriptor.hxx @@ -78,7 +78,9 @@ public: #endif using FileDescriptor::IsDefined; +#ifndef _WIN32 using FileDescriptor::IsValid; +#endif using FileDescriptor::Get; using FileDescriptor::Set; using FileDescriptor::Steal;