diff Modules/socketmodule.c @ 65245:246d3dfce7b1 3.1

Merged revisions 85404 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85404 | gregory.p.smith | 2010-10-12 20:39:47 -0700 (Tue, 12 Oct 2010) | 2 lines fix compliation on NetBSD ........
author Gregory P. Smith <greg@mad-scientist.com>
date Wed, 13 Oct 2010 03:51:16 +0000
parents 5a7bb85a5d99
children 15859740aae6
line wrap: on
line diff
--- a/Modules/socketmodule.c	Tue Oct 12 23:10:04 2010 +0000
+++ b/Modules/socketmodule.c	Wed Oct 13 03:51:16 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