diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-31 19:20:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:55:16 +0000 |
commit | a8e0670508e3176b854b6021dccd203157ba46b8 (patch) | |
tree | 059d3a53a60e1bac9c9ad0f6ac98e825700b2839 /src/client | |
parent | bd0a1a9baa9ff89ff1431ac0a3c91634c73384f2 (diff) |
Fix strange ifdeffery (#5140)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/cl_curl.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c index f8f6580d..e89d0dee 100644 --- a/src/client/cl_curl.c +++ b/src/client/cl_curl.c @@ -97,17 +97,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; |