diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:51:18 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:51:18 +0800 |
| commit | c6e5f421e2738b6005f6c3da6700b1343214f7e5 (patch) | |
| tree | f4c45010fac52e4c30610ddd4640fb5b36a602a8 /request.c | |
| parent | a0e54cb948c9862936e16eedd2a2015be05408c8 (diff) | |
Add support for Emscripten
Diffstat (limited to 'request.c')
| -rw-r--r-- | request.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,9 @@ #include "request.h" -extern inline void request(size_t (*)(void *, size_t, size_t, void *), void * - , struct curl_httppost *, char *, ...); +extern inline void request(icclient_handler, void *, +#ifdef __EMSCRIPTEN__ + int +#else + struct curl_httppost * +#endif + , char *, ...); |