xfsprogs/xfsprogs-ppc64.diff
2015-07-13 09:24:27 +00:00

24 lines
641 B
Diff

---
include/platform_defs.h.in | 5 +++++
1 file changed, 5 insertions(+)
Index: include/platform_defs.h.in
===================================================================
--- include/platform_defs.h.in.orig
+++ include/platform_defs.h.in
@@ -46,9 +46,14 @@ typedef unsigned short __u16;
typedef signed short __s16;
typedef unsigned int __u32;
typedef signed int __s32;
+#ifdef __powerpc64__
+typedef unsigned long int __u64;
+typedef signed long int __s64;
+#else
typedef unsigned long long int __u64;
typedef signed long long int __s64;
#endif
+#endif
#ifdef __CHECKER__
#define __bitwise __attribute__((bitwise))