summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-02-16 05:35:28 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2004-02-16 05:35:28 (GMT)
commit5d7c06720dcdc61fd96b5c30bff798849a53cad5 (patch)
tree8cade31e29788e0223b17f4d606e87992688c071 /Modules
parent94f1d71d7037fd70a771c6a269c81051d510b904 (diff)
downloadcpython-5d7c06720dcdc61fd96b5c30bff798849a53cad5.zip
cpython-5d7c06720dcdc61fd96b5c30bff798849a53cad5.tar.gz
cpython-5d7c06720dcdc61fd96b5c30bff798849a53cad5.tar.bz2
Make socketmodule compile again on a modern Linux (that supports Bluetooth).
The Bluetooth code was obviously never tested on Linux.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 81a65f0..818d169 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -331,7 +331,7 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
#define _BT_L2_MEMB(sa, memb) ((sa)->l2cap_##memb)
#define _BT_RC_MEMB(sa, memb) ((sa)->rfcomm_##memb)
#else
-#define _BT_SOCKADDRMEMB(s, proto) (&((s)->sock_addr).bt_##proto)
+#define _BT_SOCKADDR_MEMB(s, proto) (&((s)->sock_addr).bt_##proto)
#define _BT_L2_MEMB(sa, memb) ((sa)->l2_##memb)
#define _BT_RC_MEMB(sa, memb) ((sa)->rc_##memb)
#define _BT_SCO_MEMB(sa, memb) ((sa)->sco_##memb)