[Python-checkins] python/dist/src/Modules socketmodule.c, 1.284,
1.285
anthonybaxter at users.sourceforge.net
anthonybaxter at users.sourceforge.net
Mon Feb 16 00:35:31 EST 2004
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17380
Modified Files:
socketmodule.c
Log Message:
Make socketmodule compile again on a modern Linux (that supports Bluetooth).
The Bluetooth code was obviously never tested on Linux.
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.284
retrieving revision 1.285
diff -C2 -d -r1.284 -r1.285
*** socketmodule.c 10 Feb 2004 16:50:19 -0000 1.284
--- socketmodule.c 16 Feb 2004 05:35:28 -0000 1.285
***************
*** 332,336 ****
#define _BT_RC_MEMB(sa, memb) ((sa)->rfcomm_##memb)
#else
! #define _BT_SOCKADDRMEMB(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)
--- 332,336 ----
#define _BT_RC_MEMB(sa, memb) ((sa)->rfcomm_##memb)
#else
! #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)
More information about the Python-checkins
mailing list