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:
parent
fa2ff849c5
commit
fef46bcf49
@ -75,6 +75,8 @@ fd_set_cloexec(int fd, bool enable)
|
||||
#else
|
||||
(void)fd;
|
||||
(void)enable;
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user