From a9c5184a64ee625feb78f7b378c8a0cc3f8fc910 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 29 Aug 2011 13:57:46 +0000 Subject: - Only need cl_cURLLib cvar if USE_CURL_DLOPEN is defined. - Try to load libcurl-4.dll on win32 (it use to be included in the NSIS installer). --- src/client/cl_curl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/cl_curl.c') diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c index fd7f6901..bc64ba75 100644 --- a/src/client/cl_curl.c +++ b/src/client/cl_curl.c @@ -23,11 +23,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifdef USE_CURL #include "client.h" -cvar_t *cl_cURLLib; #ifdef USE_CURL_DLOPEN #include "../sys/sys_loadlib.h" +cvar_t *cl_cURLLib; + char* (*qcurl_version)(void); CURL* (*qcurl_easy_init)(void); -- cgit