Overview
Comment: | Don't try to use UNIX sockets on MorphOS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | unix-sockets |
Files: | files | file ages | folders |
SHA3-256: |
2f49b4aec220c744113afb7748f0348f |
User & Date: | js on 2021-10-24 16:07:16 |
Other Links: | branch diff | manifest | tags |
Context
2021-10-24
| ||
18:11 | Enable UNIX sockets on Windows check-in: d5373ff70f user: js tags: unix-sockets | |
16:07 | Don't try to use UNIX sockets on MorphOS check-in: 2f49b4aec2 user: js tags: unix-sockets | |
15:48 | OFUNIXDatagramSocketTests: Don't require files check-in: 294557d352 user: js tags: unix-sockets | |
Changes
Modified configure.ac from [99b94f26ce] to [9898bb4925].
︙ | ︙ | |||
1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 | ]) AC_CHECK_MEMBER(struct sockaddr_un.sun_path, [ AC_DEFINE(OF_HAVE_UNIX_SOCKETS, 1, [Whether we have UNIX sockets]) AC_SUBST(USE_SRCS_UNIX_SOCKETS, '${SRCS_UNIX_SOCKETS}') ], [], [ #ifdef OF_HAVE_SYS_UN_H # include <sys/un.h> #endif ]) AC_CHECK_FUNCS(paccept accept4, break) AC_CHECK_FUNCS(kqueue1 kqueue, [ AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue]) AC_SUBST(OF_KQUEUE_KERNEL_EVENT_OBSERVER_M, | > > > > > > > | 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 | ]) AC_CHECK_MEMBER(struct sockaddr_un.sun_path, [ AC_DEFINE(OF_HAVE_UNIX_SOCKETS, 1, [Whether we have UNIX sockets]) AC_SUBST(USE_SRCS_UNIX_SOCKETS, '${SRCS_UNIX_SOCKETS}') ], [], [ #ifdef OF_HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef OF_HAVE_SYS_UN_H # include <sys/un.h> #endif #ifdef __morphos__ # error MorphOS has the struct but does not support it #endif ]) AC_CHECK_FUNCS(paccept accept4, break) AC_CHECK_FUNCS(kqueue1 kqueue, [ AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue]) AC_SUBST(OF_KQUEUE_KERNEL_EVENT_OBSERVER_M, |
︙ | ︙ |
Modified src/OFSocket.h from [b11ec9bdab] to [19afd95fa7].
︙ | ︙ | |||
130 131 132 133 134 135 136 | # define IPX_NODE_LEN 6 # define sipx_family sa_family # define sipx_network sa_netnum # define sipx_node sa_nodenum # define sipx_port sa_socket #endif | | | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | # define IPX_NODE_LEN 6 # define sipx_family sa_family # define sipx_network sa_netnum # define sipx_node sa_nodenum # define sipx_port sa_socket #endif #if !defined(OF_HAVE_UNIX_SOCKETS) && !defined(OF_MORPHOS) struct sockaddr_un { sa_family_t sun_family; char sun_path[108]; }; #endif /** |
︙ | ︙ |