Commit fef46bcf authored by Max Kellermann's avatar Max Kellermann

fd_util: fd_set_cloexec() returns a value on WIN32

This function is empty on WIN32, but we need to return a value.
parent fa2ff849
...@@ -75,6 +75,8 @@ fd_set_cloexec(int fd, bool enable) ...@@ -75,6 +75,8 @@ fd_set_cloexec(int fd, bool enable)
#else #else
(void)fd; (void)fd;
(void)enable; (void)enable;
return 0;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment