Windows compilation fixes.

Signed-off-by: Alexander Shaduri <ashaduri@gmail.com>
This commit is contained in:
Alexander Shaduri
2022-02-04 11:39:41 +04:00
parent 50e8464ecf
commit d508db41c3
+1 -1
View File
@@ -195,7 +195,7 @@ namespace internal {
inline int process_signal_send(process_id_t process_handle, signal_t sig)
{
if (process_handle <= 0) {
if (process_handle == 0) {
errno = ESRCH; // The pid or process group does not exist.
return -1;
}