summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_curl.c10
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;