summaryrefslogtreecommitdiffstats
path: root/libSYS
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2014-05-26 12:14:40 -0700
committerMark Harris <mark.hsj@gmail.com>2014-05-26 12:14:40 -0700
commit5e154c7ed1c801ca8804ce4715345aee9c2c141c (patch)
tree2a62a103383d6f4aba5e1888ffff4e1a4580062d /libSYS
parent72fd73dbdd48a07c9eeae944fe9f1a9681628156 (diff)
downloadfdk-aac-5e154c7ed1c801ca8804ce4715345aee9c2c141c.tar.gz
fdk-aac-5e154c7ed1c801ca8804ce4715345aee9c2c141c.tar.bz2
fdk-aac-5e154c7ed1c801ca8804ce4715345aee9c2c141c.zip
Make LONG 32 bits for ppc64 as it is for x86_64
Diffstat (limited to 'libSYS')
-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;