From 6daac349192457eddd2bdefe17d07af1e7ab73b1 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Fri, 2 Nov 2018 11:40:37 +0000 Subject: [PATCH] Cleanup: Removed more useless NO_THREAD --- net/resolver.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/net/resolver.c b/net/resolver.c index 409452a..0aad569 100644 --- a/net/resolver.c +++ b/net/resolver.c @@ -41,14 +41,7 @@ #include #endif -#ifndef NO_THREAD #include -#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 #include @@ -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