__SANE_USERSPACE_TYPES__ needs to be defined to get consistent formats on all platforms.
It mostly affects 64-bit architectures (no op on 32 bit) with long long
vs long.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
#define FIO_ARCH (arch_mips)
+#ifndef __SANE_USERSPACE_TYPES__
+#define __SANE_USERSPACE_TYPES__
+#endif
+
#define read_barrier() __asm__ __volatile__("": : :"memory")
#define write_barrier() __asm__ __volatile__("": : :"memory")
#define nop __asm__ __volatile__("": : :"memory")
#define FIO_ARCH (arch_ppc)
+#ifndef __SANE_USERSPACE_TYPES__
+#define __SANE_USERSPACE_TYPES__
+#endif
+
#define nop do { } while (0)
#ifdef __powerpc64__