ObjFW  Check-in [5c6bc745b5]

Overview
Comment:OFTCPSocket: Define AI_* to 0 if missing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5c6bc745b5d1b5b192bce1492aa0581b6015cc101b89274c7a0d6c389d46f087
User & Date: js on 2013-01-13 00:54:40
Other Links: manifest | tags
Context
2013-01-13
01:19
OFFile: Use _wrename() instead of MoveFileW(). check-in: 55d99d15e3 user: js tags: trunk
00:54
OFTCPSocket: Define AI_* to 0 if missing. check-in: 5c6bc745b5 user: js tags: trunk
2013-01-12
20:53
Clean up the feature #ifdef mess. check-in: b8ce2359f3 user: js tags: trunk
Changes

Modified src/OFTCPSocket.m from [5685b5bf99] to [7757bd9475].

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