diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2014-03-21 11:45:27 +0000 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2014-03-21 11:45:27 +0000 |
| commit | a17d6780980f5c1ca940b5260edcec4cf103469c (patch) | |
| tree | bbc5af186118c3535351eabd9c7699b44fa85f0a | |
| parent | c419caffe896e98f6efaab41e70dc29a51f63fae (diff) | |
| parent | ed6783f315c0efe49f981b820332fc5067eace36 (diff) | |
| download | cpython-git-a17d6780980f5c1ca940b5260edcec4cf103469c.tar.gz | |
Issue #10141, Issue 20065: Merged from 3.4.
| -rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 7add6b6651..d0149dda1c 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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: |
