From 5d7c06720dcdc61fd96b5c30bff798849a53cad5 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Mon, 16 Feb 2004 05:35:28 +0000 Subject: Make socketmodule compile again on a modern Linux (that supports Bluetooth). The Bluetooth code was obviously never tested on Linux. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12