ObjFW  Diff

Differences From Artifact [61415b2d72]:

To Artifact [d3d411a803]:


44
45
46
47
48
49
50






51
52
53
54
55
56
57
# include <windows.h>
# include <ws2tcpip.h>
#endif

#ifdef OF_MORPHOS
/* Strangely, MorphOS defines socklen_t in pthread.h */
# include <pthread.h>






#endif

#ifdef OF_WII
# define BOOL OGC_BOOL
# include <network.h>
# undef BOOL








>
>
>
>
>
>







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# include <windows.h>
# include <ws2tcpip.h>
#endif

#ifdef OF_MORPHOS
/* Strangely, MorphOS defines socklen_t in pthread.h */
# include <pthread.h>

struct sockaddr_storage {
	uint8_t ss_len;
	uint8_t ss_family;
	char ss_data[2 + sizeof(struct in_addr) + 8];
};
#endif

#ifdef OF_WII
# define BOOL OGC_BOOL
# include <network.h>
# undef BOOL