Fix strange ifdeffery (#5140)

This commit is contained in:
Thilo Schulz 2011-07-31 19:20:50 +00:00
parent fb34e78b7e
commit f697df05aa
1 changed files with 2 additions and 8 deletions

View File

@ -96,17 +96,11 @@ qboolean CL_cURL_Init()
Com_Printf("Loading \"%s\"...", cl_cURLLib->string);
if(!(cURLLib = Sys_LoadDll(cl_cURLLib->string)))
{
#ifdef _WIN32
return qfalse;
#elsif ALTERNATE_CURL_LIB
#ifdef ALTERNATE_CURL_LIB
// 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)))
return qfalse;
#else
return qfalse;
#endif
return qfalse;
}
clc.cURLEnabled = qtrue;