]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix compliation on NetBSD
authorGregory P. Smith <greg@mad-scientist.com>
Wed, 13 Oct 2010 03:39:47 +0000 (03:39 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Wed, 13 Oct 2010 03:39:47 +0000 (03:39 +0000)
Modules/socketmodule.c

index eac5b4e4d0e85227ae9349cfbb433039213f69d4..94d5f7c42be3c610e937bb4e9b4629a04075497f 100644 (file)
@@ -379,7 +379,7 @@ dup_socket(SOCKET handle)
 #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