Overview
Comment: | socket.h: Add typedefs missing on MorphOS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a407b8b2b778b64c86a379e699ad4099 |
User & Date: | js on 2019-05-05 22:29:00 |
Other Links: | manifest | tags |
Context
2019-05-05
| ||
23:02 | OFTCPSocket: Work around missing EPROTO check-in: 366ce5073a user: js tags: trunk | |
22:29 | socket.h: Add typedefs missing on MorphOS check-in: a407b8b2b7 user: js tags: trunk | |
22:22 | runtime/linklib: Fix compilation on MorphOS check-in: 77945f04a6 user: js tags: trunk | |
Changes
Modified src/socket.h from [2b0e7e9e52] to [dca04b58ae].
︙ | |||
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - - - - - | #ifdef OF_WINDOWS # include <windows.h> # include <ws2tcpip.h> #endif /*! @file */ |
︙ | |||
68 69 70 71 72 73 74 75 76 77 78 79 80 81 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | + + + + + + + + + + | #else typedef SOCKET of_socket_t; #endif #ifdef OF_WII typedef u8 sa_family_t; #endif #ifdef OF_MORPHOS typedef long socklen_t; typedef u_char sa_family_t; typedef u_short in_port_t; #endif #ifdef OF_MORPHOS_IXEMUL typedef int socklen_t; #endif /*! * @brief A socket address family. */ typedef enum { /** An unknown address family. */ OF_SOCKET_ADDRESS_FAMILY_UNKNOWN, |
︙ |