diff options
author | Max Kellermann <max@duempel.org> | 2010-05-18 23:09:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-18 23:09:07 +0200 |
commit | fef46bcf495a5e5661857a9a2ea2c6348cd6c3a3 (patch) | |
tree | 9656327ec919b84857b2ff06f293c61fcd9f35a8 /src | |
parent | fa2ff849c5fbcdc20b70379af300f2c1293ed5ea (diff) | |
download | mpd-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.
Diffstat (limited to '')
-rw-r--r-- | src/fd_util.c | 2 |
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 } |