mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-40280: Disable AF_UNIX, AF_PACKET, SO_REUSE* on Emscripten (#31829)
Emscripten's socket emulation is limited. AF_UNIX, AF_PACKET, setsockopt(), and most SO_* constants are not supported.
This commit is contained in:
parent
3b128c0548
commit
ecfff63e06
4 changed files with 22 additions and 5 deletions
|
|
@ -74,8 +74,10 @@ ac_cv_func_posix_fallocate=no
|
|||
ac_cv_func_utimensat=no
|
||||
ac_cv_header_sys_ioctl_h=no
|
||||
|
||||
# sockets are supported, but only in non-blocking mode
|
||||
# ac_cv_header_sys_socket_h=no
|
||||
# sockets are supported, but only AF_INET / AF_INET6 in non-blocking mode.
|
||||
# Disable AF_UNIX and AF_PACKET support, see socketmodule.h.
|
||||
ac_cv_header_sys_un_h=no
|
||||
ac_cv_header_netpacket_packet_h=no
|
||||
|
||||
# aborts with bad ioctl
|
||||
ac_cv_func_openpty=no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue