- 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).
This commit is contained in:
Zack Middleton 2011-08-29 13:57:46 +00:00
parent 120f29c402
commit 56f5fedee9
3 changed files with 15 additions and 14 deletions

View file

@ -22,11 +22,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);