mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
Cleanup: Removed more useless NO_THREAD
This commit is contained in:
parent
ad85650f05
commit
6daac34919
@ -41,14 +41,7 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NO_THREAD
|
|
||||||
#include <igloo/thread.h>
|
#include <igloo/thread.h>
|
||||||
#else
|
|
||||||
#define igloo_thread_mutex_create(x) do{}while(0)
|
|
||||||
#define igloo_thread_mutex_destroy(x) do{}while(0)
|
|
||||||
#define igloo_thread_mutex_lock(x) do{}while(0)
|
|
||||||
#define igloo_thread_mutex_unlock(x) do{}while(0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <igloo/resolver.h>
|
#include <igloo/resolver.h>
|
||||||
#include <igloo/sock.h>
|
#include <igloo/sock.h>
|
||||||
@ -59,9 +52,7 @@ static int _isip(const char *what);
|
|||||||
|
|
||||||
/* internal data */
|
/* internal data */
|
||||||
|
|
||||||
#ifndef NO_THREAD
|
|
||||||
static igloo_mutex_t igloo__resolver_mutex;
|
static igloo_mutex_t igloo__resolver_mutex;
|
||||||
#endif
|
|
||||||
static int igloo__initialized = 0;
|
static int igloo__initialized = 0;
|
||||||
|
|
||||||
#ifdef HAVE_INET_PTON
|
#ifdef HAVE_INET_PTON
|
||||||
|
Loading…
Reference in New Issue
Block a user