Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Wed Oct 13 02:56:26 2010 +0000 +++ b/Modules/socketmodule.c Wed Oct 13 03:39:47 2010 +0000 @@ -379,7 +379,7 @@ #define SOCKETCLOSE close #endif -#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H) && !defined(__NetBSD__) +#if (defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)) && !defined(__NetBSD__) #define USE_BLUETOOTH 1 #if defined(__FreeBSD__) #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP
