54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
#import "autorelease.h"
#import "macros.h"
#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif
#if defined(OF_HAVE_THREADS) && !defined(HAVE_THREADSAFE_GETADDRINFO)
# import "OFMutex.h"
# import "OFDataArray.h"
static OFMutex *mutex = nil;
#endif
|
>
>
>
>
>
>
>
>
>
>
>
>
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#import "autorelease.h"
#import "macros.h"
#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif
#ifdef HAVE_THREADSAFE_GETADDRINFO
# ifndef AI_NUMERICSERV
# define AI_NUMERICSERV 0
# endif
# ifndef AI_NUMERICHOST
# define AI_NUMERICHOST 0
# endif
# ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
# endif
#endif
#if defined(OF_HAVE_THREADS) && !defined(HAVE_THREADSAFE_GETADDRINFO)
# import "OFMutex.h"
# import "OFDataArray.h"
static OFMutex *mutex = nil;
#endif
|