aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/FileDescriptor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/FileDescriptor.hxx')
-rw-r--r--src/system/FileDescriptor.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx
index 8db0dffdd..37657332b 100644
--- a/src/system/FileDescriptor.hxx
+++ b/src/system/FileDescriptor.hxx
@@ -93,7 +93,7 @@ public:
bool Open(const char *pathname, int flags);
bool OpenReadOnly(const char *pathname);
-#ifdef HAVE_POSIX
+#ifndef WIN32
bool OpenNonBlocking(const char *pathname);
static bool CreatePipe(FileDescriptor &r, FileDescriptor &w);
@@ -160,7 +160,7 @@ public:
return ::write(fd, buffer, length);
}
-#ifdef HAVE_POSIX
+#ifndef WIN32
int Poll(short events, int timeout) const;
int WaitReadable(int timeout) const;