]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 85404 via svnmerge from
authorGregory P. Smith <greg@mad-scientist.com>
Wed, 13 Oct 2010 03:42:10 +0000 (03:42 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Wed, 13 Oct 2010 03:42:10 +0000 (03:42 +0000)
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
........

Modules/socketmodule.c

index 884cfe54dce2688443c0fb1e13629e753150fdf3..7a7bde906f1dff026392a5895701aee6f79e2f0e 100644 (file)
@@ -379,7 +379,7 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
 #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