From 5e154c7ed1c801ca8804ce4715345aee9c2c141c Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Mon, 26 May 2014 12:14:40 -0700 Subject: Make LONG 32 bits for ppc64 as it is for x86_64 --- libSYS/include/machine_type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libSYS/include') 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; -- cgit v1.2.3