From a8e0670508e3176b854b6021dccd203157ba46b8 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 31 Jul 2011 19:20:50 +0000 Subject: Fix strange ifdeffery (#5140) --- src/client/cl_curl.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/client') 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; -- cgit