Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 31541:ec6232ed9115 legacy-trunk
Make socketmodule compile again on a modern Linux (that supports Bluetooth).
The Bluetooth code was obviously never tested on Linux.
| author | Anthony Baxter <anthonybaxter@gmail.com> |
|---|---|
| date | Mon, 16 Feb 2004 05:35:28 +0000 |
| parents | 2abc52c3d4c2 |
| children | 29da8bdfeb4e |
line wrap: on
line diff
--- a/Modules/socketmodule.c Mon Feb 16 01:26:34 2004 +0000 +++ b/Modules/socketmodule.c Mon Feb 16 05:35:28 2004 +0000 @@ -331,7 +331,7 @@ #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)
