diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-22 20:32:11 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-22 20:32:11 +0000 |
commit | bd433afef712ac9c734949667503f1795eb361c8 (patch) | |
tree | f771e37b8082b1652d0d91edc08025d0c00edd89 /code/client/cl_curl.c | |
parent | 588850eea289baabb8b13fa7f79609b58474a403 (diff) | |
download | ioquake3-aero-bd433afef712ac9c734949667503f1795eb361c8.tar.gz ioquake3-aero-bd433afef712ac9c734949667503f1795eb361c8.zip |
* 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
Diffstat (limited to 'code/client/cl_curl.c')
-rw-r--r-- | code/client/cl_curl.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |