xfsprogs/xfsprogs-ppc64.diff
OBS User autobuild 40543b88ba Accepting request 17572 from filesystems
Copy from filesystems/xfsprogs based on submit request 17572 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/17572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfsprogs?expand=0&rev=12
2009-08-12 23:41:09 +00:00

22 lines
539 B
Diff

---
include/platform_defs.h.in | 5 +++++
1 file changed, 5 insertions(+)
--- include/platform_defs.h.in.orig
+++ include/platform_defs.h.in
@@ -44,9 +44,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))