ObjFW  Diff

Differences From Artifact [a403eb4800]:

To Artifact [c9f65fae9e]:


31
32
33
34
35
36
37



38

39
40
41
42
43
44
45
46
@public
#ifndef _WIN32
	int    sock;
#else
	SOCKET sock;
#endif
	BOOL   listening;



@protected

	BOOL   eos;
}

/**
 * \return A new autoreleased OFTCPSocket
 */
+ socket;
@end







>
>
>

>








31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@public
#ifndef _WIN32
	int    sock;
#else
	SOCKET sock;
#endif
	BOOL   listening;
/* Work around a bug in gcc 4.4.4 (possibly only on Haiku) */
#if !defined(__GNUC__) || __GNUC__ != 4 || __GNUC_MINOR__ != 4 || \
    __GNUC_PATCHLEVEL__ != 4
@protected
#endif
	BOOL   eos;
}

/**
 * \return A new autoreleased OFTCPSocket
 */
+ socket;
@end