解决msvc下编译问题

This commit is contained in:
ziyue 2022-05-26 11:59:19 +08:00
parent 59ff0a9a1a
commit 989e7b2e75

View File

@ -16,7 +16,7 @@ typedef struct {
mk_http_requester requester; mk_http_requester requester;
} Context; } Context;
API_CALL void on_requester_complete(void *user_data, int code, const char *err_msg){ void API_CALL on_requester_complete(void *user_data, int code, const char *err_msg){
Context *ctx = (Context *)user_data; Context *ctx = (Context *)user_data;
log_debug("code: %d %s", code, err_msg); log_debug("code: %d %s", code, err_msg);
size_t res_len = 0; size_t res_len = 0;