aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-05-18 23:09:01 +0200
committerMax Kellermann <max@duempel.org>2010-05-18 23:09:07 +0200
commitfef46bcf495a5e5661857a9a2ea2c6348cd6c3a3 (patch)
tree9656327ec919b84857b2ff06f293c61fcd9f35a8
parentfa2ff849c5fbcdc20b70379af300f2c1293ed5ea (diff)
downloadmpd-fef46bcf495a5e5661857a9a2ea2c6348cd6c3a3.tar.gz
mpd-fef46bcf495a5e5661857a9a2ea2c6348cd6c3a3.tar.xz
mpd-fef46bcf495a5e5661857a9a2ea2c6348cd6c3a3.zip
fd_util: fd_set_cloexec() returns a value on WIN32
This function is empty on WIN32, but we need to return a value.
-rw-r--r--src/fd_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fd_util.c b/src/fd_util.c
index 741a28ec3..e385be0ce 100644
--- a/src/fd_util.c
+++ b/src/fd_util.c
@@ -75,6 +75,8 @@ fd_set_cloexec(int fd, bool enable)
#else
(void)fd;
(void)enable;
+
+ return 0;
#endif
}