comparison Modules/socketmodule.c @ 65243:2ce64960d490

fix compliation on NetBSD
author Gregory P. Smith <greg@mad-scientist.com>
date Wed, 13 Oct 2010 03:39:47 +0000
parents 6c1f10e07455
children 12442ac3f7dd
comparison
equal deleted inserted replaced
65242:75206df8e58c 65243:2ce64960d490
377 377
378 #ifndef SOCKETCLOSE 378 #ifndef SOCKETCLOSE
379 #define SOCKETCLOSE close 379 #define SOCKETCLOSE close
380 #endif 380 #endif
381 381
382 #if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H) && !defined(__NetBSD__) 382 #if (defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)) && !defined(__NetBSD__)
383 #define USE_BLUETOOTH 1 383 #define USE_BLUETOOTH 1
384 #if defined(__FreeBSD__) 384 #if defined(__FreeBSD__)
385 #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP 385 #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP
386 #define BTPROTO_RFCOMM BLUETOOTH_PROTO_RFCOMM 386 #define BTPROTO_RFCOMM BLUETOOTH_PROTO_RFCOMM
387 #define BTPROTO_HCI BLUETOOTH_PROTO_HCI 387 #define BTPROTO_HCI BLUETOOTH_PROTO_HCI