mirror of https://github.com/cemu-project/Cemu.git
nlibcurl: Fix compile error
This commit is contained in:
parent
9c28a728e4
commit
6ea42d958c
|
@ -386,7 +386,12 @@ uint32 SendOrderToWorker(CURL_t* curl, QueueOrder order, uint32 arg1 = 0)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int curl_closesocket(void *clientp, curl_socket_t item);
|
static int curl_closesocket(void *clientp, curl_socket_t item)
|
||||||
|
{
|
||||||
|
nsysnet_notifyCloseSharedSocket((SOCKET)item);
|
||||||
|
closesocket(item);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
void _curl_set_default_parameters(CURL_t* curl)
|
void _curl_set_default_parameters(CURL_t* curl)
|
||||||
{
|
{
|
||||||
|
@ -843,13 +848,6 @@ void export_curl_share_cleanup(PPCInterpreter_t* hCPU)
|
||||||
osLib_returnFromFunction(hCPU, 0);
|
osLib_returnFromFunction(hCPU, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int curl_closesocket(void *clientp, curl_socket_t item)
|
|
||||||
{
|
|
||||||
nsysnet_notifyCloseSharedSocket((SOCKET)item);
|
|
||||||
closesocket(item);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
CURL_t* curl_easy_init()
|
CURL_t* curl_easy_init()
|
||||||
{
|
{
|
||||||
if (g_nlibcurl.initialized == 0)
|
if (g_nlibcurl.initialized == 0)
|
||||||
|
|
Loading…
Reference in New Issue