fd_util: fd_set_cloexec() returns a value on WIN32
This function is empty on WIN32, but we need to return a value.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user