… | … | ||
---|---|---|---|
2475 | #endif | 2475 | #endif |
2476 | { | 2476 | { |
2477 | #ifdef _WIN32 | 2477 | #ifdef _WIN32 |
2478 | WSABUF buf; | 2478 | WSABUF buf; |
2479 | DWORD sent; | 2479 | DWORD sent; |
2480 | buf.buf = &buf; | 2480 | buf.buf = (char *)&buf; |
2481 | buf.len = 1; | 2481 | buf.len = 1; |
2482 | WSASend (EV_FD_TO_WIN32_HANDLE (evpipe [1]), &buf, 1, &sent, 0, 0, 0); | 2482 | WSASend (EV_FD_TO_WIN32_HANDLE (evpipe [1]), &buf, 1, &sent, 0, 0, 0); |
2483 | #else | 2483 | #else |
2484 | write (evpipe [1], &(evpipe [1]), 1); | 2484 | write (evpipe [1], &(evpipe [1]), 1); |
2485 | #endif | 2485 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |