Skip to content

Commit

Permalink
Fix conditional support for multishot accept
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Jul 25, 2023
1 parent 8d5f987 commit 02e3a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/polyphony/backend_io_uring.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,6 @@ static inline VALUE accept_loop_from_queue(VALUE server_socket, VALUE socket_cla
}
return Qtrue;
}
#endif

VALUE multishot_accept_start(struct multishot_accept_ctx *ctx) {
int server_fd;
Expand Down Expand Up @@ -1127,6 +1126,7 @@ VALUE multishot_accept_loop(Backend_t *backend, VALUE server_socket, VALUE socke
SAFE(multishot_accept_cleanup), (VALUE)&ctx
);
}
#endif

VALUE Backend_accept_loop(VALUE self, VALUE server_socket, VALUE socket_class) {
Backend_t *backend;
Expand Down

0 comments on commit 02e3a57

Please sign in to comment.