From f697df05aa95de28884526a3c35c6691aeb6cb36 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 31 Jul 2011 19:20:50 +0000 Subject: [PATCH] Fix strange ifdeffery (#5140) --- code/client/cl_curl.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/code/client/cl_curl.c b/code/client/cl_curl.c index 95029924..3b4dad05 100644 --- a/code/client/cl_curl.c +++ b/code/client/cl_curl.c @@ -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;