[Python-checkins] r85404 - python/branches/py3k/Modules/socketmodule.c
gregory.p.smith
python-checkins at python.org
Wed Oct 13 05:39:47 CEST 2010
Author: gregory.p.smith
Date: Wed Oct 13 05:39:47 2010
New Revision: 85404
Log:
fix compliation on NetBSD
Modified:
python/branches/py3k/Modules/socketmodule.c
Modified: python/branches/py3k/Modules/socketmodule.c
==============================================================================
--- python/branches/py3k/Modules/socketmodule.c (original)
+++ python/branches/py3k/Modules/socketmodule.c Wed Oct 13 05:39:47 2010
@@ -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
More information about the Python-checkins
mailing list