---
 lib/bluez_compat.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/bluez_compat.h b/lib/bluez_compat.h
index b0b97d6..3f36cd7 100644
--- a/lib/bluez_compat.h
+++ b/lib/bluez_compat.h
@@ -66,6 +66,7 @@ extern bdaddr_t bluez_compat_bdaddr_any;
 #define rc_channel  bt_channel
 #define bacpy(dst,src) memcpy((dst),(src),sizeof(bdaddr_t))
 #define bacmp(a,b)     memcmp((a),(b),sizeof(bdaddr_t))
+#define str2ba(str, ba)        (bt_aton((str), (ba)) == 1 ? 0 : -1)
 
 #else
 #define bdaddr_t unsigned long
-- 
1.7.4.1


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to