summaryrefslogtreecommitdiffstats
path: root/include/bluetooth.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-12 21:22:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-12 21:22:37 +0000
commit02f41dc112d035da030b2c14f02baaae2f7c3c18 (patch)
treea20611c66455d4d25f01eebffc303599fe77399e /include/bluetooth.h
parentbb42dcd5202fce11689ba81d73783ccb9b79e8d6 (diff)
Add architectures that can do unaligned access by themself
Diffstat (limited to 'include/bluetooth.h')
-rw-r--r--include/bluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index e286ffb9..9304ddd6 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -88,7 +88,7 @@ enum {
#endif
/* Bluetooth unaligned access */
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__s390__)
#define bt_get_unaligned(ptr) (*(ptr))
#define bt_put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
#else