1
0
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:
Philipp Schafft 2018-11-02 11:40:37 +00:00
parent ad85650f05
commit 6daac34919

View File

@ -41,14 +41,7 @@
#include <winsock2.h>
#endif
#ifndef NO_THREAD
#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/sock.h>
@ -59,9 +52,7 @@ static int _isip(const char *what);
/* internal data */
#ifndef NO_THREAD
static igloo_mutex_t igloo__resolver_mutex;
#endif
static int igloo__initialized = 0;
#ifdef HAVE_INET_PTON