diff options
author | David CARLIER <devnexen@gmail.com> | 2022-05-03 17:33:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 17:33:11 (GMT) |
commit | d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df (patch) | |
tree | df730c6cd57ba288e69781ca152cad89e69559e9 /Modules | |
parent | b295a92c50b128e494f47c28f12b8e9eac2927ea (diff) | |
download | cpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.zip cpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.tar.gz cpython-d5dfcd4489e25c1b6e985fb6b8a700c8a49c68df.tar.bz2 |
bpo-46696: Add socket.SO_INCOMING_CPU constant (#31237)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/socketmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 9ecabaf..c650b25 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -7505,6 +7505,9 @@ PyInit__socket(void) #ifdef SO_EXCLUSIVEADDRUSE PyModule_AddIntMacro(m, SO_EXCLUSIVEADDRUSE); #endif +#ifdef SO_INCOMING_CPU + PyModule_AddIntMacro(m, SO_INCOMING_CPU); +#endif #ifdef SO_KEEPALIVE PyModule_AddIntMacro(m, SO_KEEPALIVE); |