diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-02-16 05:35:28 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-02-16 05:35:28 (GMT) |
commit | 5d7c06720dcdc61fd96b5c30bff798849a53cad5 (patch) | |
tree | 8cade31e29788e0223b17f4d606e87992688c071 | |
parent | 94f1d71d7037fd70a771c6a269c81051d510b904 (diff) | |
download | cpython-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.
-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 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) |