summaryrefslogtreecommitdiffstats
path: root/adb/file_sync_service.h
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-10-20 13:34:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-20 13:34:01 -0700
commit89463984f5576d7ab61303e08f81eb9175afed59 (patch)
tree6eef2414397fb9ef18d1f2385f4f0222d80ab895 /adb/file_sync_service.h
parenta8b8c0e21ac4bdb7838c8c1b8e7d60f632eda79b (diff)
parent81347d2764b32ec7224d4e2ab3348103816400b2 (diff)
downloadsystem_core-89463984f5576d7ab61303e08f81eb9175afed59.zip
system_core-89463984f5576d7ab61303e08f81eb9175afed59.tar.gz
system_core-89463984f5576d7ab61303e08f81eb9175afed59.tar.bz2
am 81347d27: Merge "adb: Improved detection of big endian architecture"
Merge commit '81347d2764b32ec7224d4e2ab3348103816400b2' into gingerbread-plus-aosp * commit '81347d2764b32ec7224d4e2ab3348103816400b2': adb: Improved detection of big endian architecture
Diffstat (limited to 'adb/file_sync_service.h')
-rw-r--r--adb/file_sync_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/file_sync_service.h b/adb/file_sync_service.h
index 11ea06b..e402e06 100644
--- a/adb/file_sync_service.h
+++ b/adb/file_sync_service.h
@@ -17,7 +17,7 @@
#ifndef _FILE_SYNC_SERVICE_H_
#define _FILE_SYNC_SERVICE_H_
-#ifdef __ppc__
+#ifdef HAVE_BIG_ENDIAN
static inline unsigned __swap_uint32(unsigned x)
{
return (((x) & 0xFF000000) >> 24)