diff options
| author | Zackery Spytz <zspytz@gmail.com> | 2020-04-09 06:03:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-09 13:03:49 +0100 |
| commit | 97e0de04b8cd44474e452a028761e34407192041 (patch) | |
| tree | c9041db6144355b0e2c1573a21dae089a6b4e4c6 /Modules/socketmodule.c | |
| parent | b54a99d6432de93de85be2b42a63774f8b4581a0 (diff) | |
| download | cpython-git-97e0de04b8cd44474e452a028761e34407192041.tar.gz | |
bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module (GH-19190)
Co-Authored-By: Stefan Tatschner <stefan@rumpelsepp.org>
Diffstat (limited to 'Modules/socketmodule.c')
| -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 b5c241e643..722c06e372 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -7702,6 +7702,9 @@ PyInit__socket(void) #ifdef HAVE_LINUX_CAN_RAW_FD_FRAMES PyModule_AddIntMacro(m, CAN_RAW_FD_FRAMES); #endif +#ifdef HAVE_LINUX_CAN_RAW_JOIN_FILTERS + PyModule_AddIntMacro(m, CAN_RAW_JOIN_FILTERS); +#endif #ifdef HAVE_LINUX_CAN_BCM_H PyModule_AddIntMacro(m, CAN_BCM); |
