diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-12 17:35:16 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-12 17:35:16 +0800 |
commit | 5f242cff9c418526cf88427afd6a74f56751f9b6 (patch) | |
tree | 4ded273fac136604b0d18ed97fb8ae739409a354 /request.c | |
parent | 3678251af38f04882f55515036b8fbbe27760a40 (diff) |
thrd_t typedef isn't needed anymore
Diffstat (limited to 'request.c')
-rw-r--r-- | request.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -14,7 +14,6 @@ extern emscripten_fetch_attr_t attr; #else #include <pthread.h> -typedef pthread_t thrd_t; #include <curl/curl.h> 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 } |