Fix compilation error
This commit is contained in:
@@ -12,7 +12,7 @@ int main()
|
||||
struct io_context ioc;
|
||||
if (!io_init(&ioc, res, ops, sizeof(res)/sizeof(res[0]), sizeof(ops)/sizeof(ops[0])))
|
||||
return -1;
|
||||
|
||||
|
||||
io_handle files[NUM_OPS];
|
||||
|
||||
for (int i = 0; i < NUM_OPS; i++) {
|
||||
|
||||
@@ -990,11 +990,11 @@ io_wait_internal(struct io_context *ioc,
|
||||
struct io_event *ev)
|
||||
{
|
||||
#if IO_PLATFORM_WINDOWS
|
||||
io_wait_windows(ioc, ev);
|
||||
io_wait_internal_windows(ioc, ev);
|
||||
#endif
|
||||
|
||||
#if IO_PLATFORM_LINUX
|
||||
io_wait_linux(ioc, ev);
|
||||
io_wait_internal_linux(ioc, ev);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user