mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-09-15 19:54:28 +08:00
mingw compiles but not work yet
This commit is contained in:
@@ -2473,7 +2473,8 @@ evpipe_write (EV_P_ EV_ATOMIC_T *flag)
|
||||
#ifdef _WIN32
|
||||
WSABUF buf;
|
||||
DWORD sent;
|
||||
buf.buf = &buf;
|
||||
// buf.buf=&buf;
|
||||
buf.buf = (char *)&buf;
|
||||
buf.len = 1;
|
||||
WSASend (EV_FD_TO_WIN32_HANDLE (evpipe [1]), &buf, 1, &sent, 0, 0, 0);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user