mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 10:00:41 +00:00
IOQ3 commit 2108
This commit is contained in:
parent
f62a63dfe0
commit
e59221e481
1 changed files with 2 additions and 8 deletions
|
@ -96,17 +96,11 @@ qboolean CL_cURL_Init()
|
||||||
Com_Printf("Loading \"%s\"...", cl_cURLLib->string);
|
Com_Printf("Loading \"%s\"...", cl_cURLLib->string);
|
||||||
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string)))
|
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string)))
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef ALTERNATE_CURL_LIB
|
||||||
return qfalse;
|
|
||||||
|
|
||||||
#elsif ALTERNATE_CURL_LIB
|
|
||||||
// On some linux distributions there is no libcurl.so.3, but only libcurl.so.4. That one works too.
|
// On some linux distributions there is no libcurl.so.3, but only libcurl.so.4. That one works too.
|
||||||
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB)))
|
if(!(cURLLib = Sys_LoadDll(ALTERNATE_CURL_LIB)))
|
||||||
return qfalse;
|
|
||||||
#else
|
|
||||||
|
|
||||||
return qfalse;
|
|
||||||
#endif
|
#endif
|
||||||
|
return qfalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
clc.cURLEnabled = qtrue;
|
clc.cURLEnabled = qtrue;
|
||||||
|
|
Loading…
Reference in a new issue