[quake3-commits] r2108 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 31 15:20:50 EDT 2011


Author: thilo
Date: 2011-07-31 15:20:50 -0400 (Sun, 31 Jul 2011)
New Revision: 2108

Modified:
   trunk/code/client/cl_curl.c
Log:
Fix strange ifdeffery (#5140)


Modified: trunk/code/client/cl_curl.c
===================================================================
--- trunk/code/client/cl_curl.c	2011-07-31 19:12:16 UTC (rev 2107)
+++ trunk/code/client/cl_curl.c	2011-07-31 19:20:50 UTC (rev 2108)
@@ -96,17 +96,11 @@
 	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;



More information about the quake3-commits mailing list