102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# define trunc(x) ((int64_t)(x))
#endif
#if defined(OF_HAVE_THREADS)
# import "OFTLSKey.h"
# if defined(OF_AMIGAOS) && defined(OF_HAVE_SOCKETS)
# import "OFSocket.h"
# endif
static OFTLSKey threadSelfKey;
static OFThread *mainThread;
#elif defined(OF_HAVE_SOCKETS)
static OFDNSResolver *DNSResolver;
#endif
|
>
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
# define trunc(x) ((int64_t)(x))
#endif
#if defined(OF_HAVE_THREADS)
# import "OFTLSKey.h"
# if defined(OF_AMIGAOS) && defined(OF_HAVE_SOCKETS)
# import "OFSocket.h"
# import "OFSocket+Private.h"
# endif
static OFTLSKey threadSelfKey;
static OFThread *mainThread;
#elif defined(OF_HAVE_SOCKETS)
static OFDNSResolver *DNSResolver;
#endif
|