Skip to content

Commit 5395e2e

Browse files
author
codethinki
committed
whoops forgot a macro name in the linux native_handle handler
1 parent 5cfc97b commit 5395e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cth_coro/src/coro/os/native_handle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bool check_ready(os::native_handle_t handle) {
2626
} catch(cth::except::win_exception const& e) {
2727
throw except::coro_exception{e.msg(), e.severity(), e.location(), e.stacktrace()};
2828
}
29-
#elifdef
29+
#elifdef CTH_FS_POSIX
3030
pollfd pfd{fd, POLLIN, 0};
3131
return poll(&pfd, 1, 0) > 0;
3232
#endif

0 commit comments

Comments
 (0)