aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/utils.c')
-rw-r--r--xorg-server/os/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c
index ff3b7e40a..f878f28b2 100644
--- a/xorg-server/os/utils.c
+++ b/xorg-server/os/utils.c
@@ -2130,6 +2130,7 @@ FormatUInt64Hex(uint64_t num, char *string)
string[len] = '\0';
}
+#ifndef _MSC_VER
/* Move a file descriptor out of the way of our select mask; this
* is useful for file descriptors which will never appear in the
* select mask to avoid reducing the number of clients that can
@@ -2153,3 +2154,4 @@ os_move_fd(int fd)
close(fd);
return newfd;
}
+#endif