[Python-checkins] cpython (3.4): Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
vinay.sajip
python-checkins at python.org
Fri Mar 21 12:45:41 CET 2014
http://hg.python.org/cpython/rev/9dc199b921eb
changeset: 89896:9dc199b921eb
branch: 3.4
parent: 89887:9e0626766ac0
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Mar 21 11:44:32 2014 +0000
summary:
Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
files:
Modules/socketmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -1589,7 +1589,7 @@
}
#endif
-#ifdef AF_CAN
+#if defined(AF_CAN) && defined(CAN_RAW) && defined(CAN_BCM)
case AF_CAN:
switch (s->sock_proto) {
case CAN_RAW:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list