ObjFW  Diff

Differences From Artifact [9302e3897c]:

To Artifact [e5254d8f80]:


42
43
44
45
46
47
48
49

50
51
52
53
54
55
56
57
42
43
44
45
46
47
48

49

50
51
52
53
54
55
56







-
+
-







#endif

#import "socket_helpers.h"

#if !defined(HAVE_THREADSAFE_GETADDRINFO) && defined(OF_HAVE_THREADS)
static of_mutex_t mutex;

static void __attribute__((__constructor__))
OF_CONSTRUCTOR()
init(void)
{
	if (!of_mutex_new(&mutex))
		@throw [OFInitializationFailedException exception];
}
#endif

of_resolver_result_t**