Skip to content

Commit

Permalink
gtk wasm build wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Zubnix committed Nov 4, 2024
1 parent f5c72f7 commit ff79ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/sysrootlibs/jslibraries/library_unixsockfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
}
},
__syscall_poll: function(fds, nfds, timeout) {
return Asyncify.handleAsync(async () => {
return (async () => {
var nonzero = 0;
for (var i = 0; i < nfds; i++) {
var pollfd = fds + {{{ C_STRUCTS.pollfd.__size__ }}} * i;
Expand All @@ -575,7 +575,7 @@
{{{ makeSetValue('pollfd', C_STRUCTS.pollfd.revents, 'mask', 'i16') }}};
}
return nonzero;
})
})()
},
}

Expand Down

0 comments on commit ff79ab6

Please sign in to comment.