summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/powerpc/sys')
-rw-r--r--libc/sysdeps/linux/powerpc/sys/procfs.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/powerpc/sys/procfs.h b/libc/sysdeps/linux/powerpc/sys/procfs.h
index b761bf21c..f2424889e 100644
--- a/libc/sysdeps/linux/powerpc/sys/procfs.h
+++ b/libc/sysdeps/linux/powerpc/sys/procfs.h
@@ -42,12 +42,10 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
-/* gcc doesn't support __TI__ yet */
-#if 0
-typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
-#else
+/* gcc 3.1 and newer support __uint128_t. */
+#if !__GNUC_PREREQ(3,1)
typedef struct {
- unsigned long u[4];
+ unsigned long u[4];
} __attribute((aligned(16))) __uint128_t;
#endif