Differences From 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]
To Artifact [d3d411a803]:
- File src/socket.h — part of check-in [e1559236a9] at 2017-05-16 22:35:54 on branch trunk — Add struct sockaddr_storage for MorphOS (user: js, size: 2092) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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 |
︙ | ︙ |