Kaydet (Commit) ed6783f3 authored tarafından Vinay Sajip's avatar Vinay Sajip

Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.

üst 409a1be6
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment