From: Andreas Jaeger Date: Thu, 17 Jan 2002 17:37:40 +0000 (+0000) Subject: GCC 3.1 has __uint128_t build-in. X-Git-Tag: cvs/glibc-2-2-5~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a84562fa98a4a609664af806ea7e6704b97e7ec0;p=thirdparty%2Fglibc.git GCC 3.1 has __uint128_t build-in. --- diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h index b761bf21c3c..e42f848bc55 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1999, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -42,10 +42,8 @@ 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]; } __attribute((aligned(16))) __uint128_t;