mirror of
https://github.com/python/cpython.git
synced 2025-09-01 06:28:36 +00:00
bpo-40280: Add --with-emscripten-target to build for browser or node (GH-30552)
Co-authored-by: Ethan Smith <ethan@ethanhs.me>
This commit is contained in:
parent
be578e0c06
commit
43839ba438
7 changed files with 164 additions and 22 deletions
|
@ -7931,7 +7931,7 @@ PyInit__socket(void)
|
|||
#ifdef IPPROTO_VRRP
|
||||
PyModule_AddIntMacro(m, IPPROTO_VRRP);
|
||||
#endif
|
||||
#ifdef IPPROTO_SCTP
|
||||
#if defined(IPPROTO_SCTP) && !defined(__EMSCRIPTEN__)
|
||||
PyModule_AddIntMacro(m, IPPROTO_SCTP);
|
||||
#endif
|
||||
#ifdef IPPROTO_BIP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue