From bd433afef712ac9c734949667503f1795eb361c8 Mon Sep 17 00:00:00 2001 From: tma Date: Sat, 22 Sep 2007 20:32:11 +0000 Subject: * Move the conditional compilation of bg_lib.c from the Makefile to cpp in order to force dependency generation on bg_lib.* * Make testing USE_ defines more consistent git-svn-id: svn://svn.icculus.org/quake3/trunk@1186 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_curl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'code/client/cl_curl.c') diff --git a/code/client/cl_curl.c b/code/client/cl_curl.c index e4527df..e4db3eb 100644 --- a/code/client/cl_curl.c +++ b/code/client/cl_curl.c @@ -20,11 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#if USE_CURL +#ifdef USE_CURL #include "client.h" cvar_t *cl_cURLLib; -#if USE_CURL_DLOPEN +#ifdef USE_CURL_DLOPEN #include "../sys/sys_loadlib.h" char* (*qcurl_version)(void); @@ -88,7 +88,7 @@ CL_cURL_Init */ qboolean CL_cURL_Init() { -#if USE_CURL_DLOPEN +#ifdef USE_CURL_DLOPEN if(cURLLib) return qtrue; @@ -156,7 +156,7 @@ CL_cURL_Shutdown void CL_cURL_Shutdown( void ) { CL_cURL_Cleanup(); -#if USE_CURL_DLOPEN +#ifdef USE_CURL_DLOPEN if(cURLLib) { Sys_UnloadLibrary(cURLLib); -- cgit v1.2.3