diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-10-09 21:12:56 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-10-09 21:12:56 +0000 |
commit | 4471aff653622f322b718cce206f36e8bd50029c (patch) | |
tree | e2b2641e8dce544749ba68610953e42c750afd86 /gcc/libgcc2.h | |
parent | c6282415bfcde16fb242449d1befd3b69976c51c (diff) | |
download | gcc-4471aff653622f322b718cce206f36e8bd50029c.zip gcc-4471aff653622f322b718cce206f36e8bd50029c.tar.gz gcc-4471aff653622f322b718cce206f36e8bd50029c.tar.bz2 |
libgcc2.h: Use __SIZEOF_LONG_LONG__ instead of LONG_LONG_TYPE_SIZE.
* libgcc2.h: Use __SIZEOF_LONG_LONG__ instead of LONG_LONG_TYPE_SIZE.
* libgcc2.c: Likewise.
From-SVN: r165238
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r-- | gcc/libgcc2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h index 56dc9f7..f344917 100644 --- a/gcc/libgcc2.h +++ b/gcc/libgcc2.h @@ -140,7 +140,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI))); /* These typedefs are usually forbidden on dsp's with UNITS_PER_WORD 1. */ typedef int SItype __attribute__ ((mode (SI))); typedef unsigned int USItype __attribute__ ((mode (SI))); -#if LONG_LONG_TYPE_SIZE > 32 +#if __SIZEOF_LONG_LONG__ > 4 /* These typedefs are usually forbidden on archs with UNITS_PER_WORD 2. */ typedef int DItype __attribute__ ((mode (DI))); typedef unsigned int UDItype __attribute__ ((mode (DI))); @@ -342,7 +342,7 @@ extern cmp_return_type __ucmpdi2 (DWtype, DWtype); #if MIN_UNITS_PER_WORD > 1 extern SItype __bswapsi2 (SItype); #endif -#if LONG_LONG_TYPE_SIZE > 32 +#if __SIZEOF_LONG_LONG__ > 4 extern DItype __bswapdi2 (DItype); #endif |