From 5f242cff9c418526cf88427afd6a74f56751f9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 12 Jan 2023 17:35:16 +0800 Subject: thrd_t typedef isn't needed anymore --- request.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/request.c b/request.c index 624f0e4..c969eeb 100644 --- a/request.c +++ b/request.c @@ -14,7 +14,6 @@ extern emscripten_fetch_attr_t attr; #else #include -typedef pthread_t thrd_t; #include extern char *sampleurl; @@ -180,7 +179,7 @@ void request(void (*handler)(interchange_response *), void (*callback)(void *), container->post = post; container->handler = handler; container->response = response; - thrd_t thread; + pthread_t thread; pthread_create(&thread, NULL, async, container); #endif } -- cgit v1.2.3