I guess this works? Not sure what's wrong with AF_UNIX on iOS.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4521 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
a69e551968
commit
2583221117
@ -672,6 +672,7 @@ void tf_run_thread_start(const char* zip_path)
|
||||
.https_port = 12346,
|
||||
.ssb_port = 8008,
|
||||
.db_path = k_db_path_default,
|
||||
.one_proc = true,
|
||||
.zip = zip_path,
|
||||
};
|
||||
*data = (tf_run_thread_data_t)
|
||||
|
@ -139,7 +139,7 @@ static JSValue _taskstub_create(JSContext* context, JSValueConst this_val, int a
|
||||
if (tf_task_get_one_proc(parent))
|
||||
{
|
||||
uv_os_sock_t fds[2];
|
||||
int pipe_result = uv_socketpair(SOCK_STREAM, AF_UNIX, fds, 0, 0);
|
||||
int pipe_result = uv_socketpair(SOCK_STREAM, 0, fds, 0, 0);
|
||||
if (pipe_result)
|
||||
{
|
||||
tf_printf("uv_socketpair failed: %s\n", uv_strerror(pipe_result));
|
||||
|
Loading…
Reference in New Issue
Block a user