Differences From Artifact [237f41c8f9]:
- File
src/socket.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 1874) [annotate] [blame] [check-ins using]
To Artifact [61415b2d72]:
- File
src/socket.h
— part of check-in
[69b3cfed8a]
at
2017-05-16 22:24:51
on branch trunk
— socket.h: Include pthread.h on MorphOS
Strangely, MorphOS defines socklen_t in pthread.h. (user: js, size: 1978) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# ifdef __MINGW64_VERSION_MAJOR
# include <winsock2.h>
# endif
# endif
# include <windows.h>
# include <ws2tcpip.h>
#endif
#ifdef OF_WII
# define BOOL OGC_BOOL
# include <network.h>
# undef BOOL
struct sockaddr_storage {
| > > > > > | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# ifdef __MINGW64_VERSION_MAJOR
# include <winsock2.h>
# endif
# endif
# 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
struct sockaddr_storage {
|
| ︙ | ︙ |