mirror of https://github.com/python/cpython
Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
This commit is contained in:
parent
409a1be6cf
commit
ed6783f315
|
@ -1589,7 +1589,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef AF_CAN
|
||||
#if defined(AF_CAN) && defined(CAN_RAW) && defined(CAN_BCM)
|
||||
case AF_CAN:
|
||||
switch (s->sock_proto) {
|
||||
case CAN_RAW:
|
||||
|
|
Loading…
Reference in New Issue