aboutsummaryrefslogtreecommitdiffstats
path: root/libSYS/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-04-09 15:57:48 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-09 15:57:48 +0000
commitfb2e845179a04cc259f1e66dcc68e023d2ef433a (patch)
treee8d2bc1a607ca8b17ed623fa1fa8e88ccd86e61d /libSYS/include
parent603f48ab99ce76f552f4f6f85d06b8c5b94c698e (diff)
parent35f30c5ab8089f38681d2fdd416c00aebef5a7ff (diff)
downloadfdk-aac-fb2e845179a04cc259f1e66dcc68e023d2ef433a.tar.gz
fdk-aac-fb2e845179a04cc259f1e66dcc68e023d2ef433a.tar.bz2
fdk-aac-fb2e845179a04cc259f1e66dcc68e023d2ef433a.zip
am 35f30c5a: Merge "AArch64: Make LONG 4 bytes"
* commit '35f30c5ab8089f38681d2fdd416c00aebef5a7ff': AArch64: Make LONG 4 bytes
Diffstat (limited to 'libSYS/include')
-rw-r--r--libSYS/include/machine_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libSYS/include/machine_type.h b/libSYS/include/machine_type.h
index 4745e43..b328953 100644
--- a/libSYS/include/machine_type.h
+++ b/libSYS/include/machine_type.h
@@ -154,15 +154,15 @@ amm-info@iis.fraunhofer.de
typedef signed int INT;
typedef unsigned int UINT;
-#ifdef __x86_64__
+#ifdef __LP64__
/* force FDK long-datatypes to 4 byte */
/* jdr: Use defines to avoid type alias problems on 64 bit machines. */
#define LONG INT
#define ULONG UINT
-#else /* __x86_64__ */
+#else /* __LP64__ */
typedef signed long LONG;
typedef unsigned long ULONG;
-#endif /* __x86_64__ */
+#endif /* __LP64__ */
typedef signed short SHORT;
typedef unsigned short USHORT;
typedef signed char SCHAR;