mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
asyn-thread: fix unused macro warnings
Don't do anything in this file if CURLRES_THREADED is not defined.
This commit is contained in:
parent
3661c8aeb0
commit
ea1b864786
@ -22,6 +22,11 @@
|
||||
|
||||
#include "curl_setup.h"
|
||||
|
||||
/***********************************************************************
|
||||
* Only for threaded name resolves builds
|
||||
**********************************************************************/
|
||||
#ifdef CURLRES_THREADED
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
@ -74,11 +79,6 @@
|
||||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/***********************************************************************
|
||||
* Only for threaded name resolves builds
|
||||
**********************************************************************/
|
||||
#ifdef CURLRES_THREADED
|
||||
|
||||
/*
|
||||
* Curl_resolver_global_init()
|
||||
* Called from curl_global_init() to initialize global resolver environment.
|
||||
|
Loading…
Reference in New Issue
Block a user