diff options
| author | Werner Koch <wk@gnupg.org> | 2015-09-07 15:38:04 +0200 |
|---|---|---|
| committer | Werner Koch <wk@gnupg.org> | 2015-09-07 15:38:04 +0200 |
| commit | d2816248461c24a7ea81a1de2f562f481ccc9edd (patch) | |
| tree | 5e7056770975f92afd12e178bc48567a22802318 | |
| parent | 236c040c066d385582376b67a2f356a07fbbfafc (diff) | |
| download | libgcrypt-d2816248461c24a7ea81a1de2f562f481ccc9edd.tar.gz | |
Fix gcc portability on Solaris 9 SPARC boxes.
* mpi/longlong.h: Use __sparcv8 as alias for __sparc_v8__.
--
This patch has been in use by pkgsrc for
SunOS mentok 5.9 Generic_117171-02 sun4u sparc SUNW,Sun-Fire-V240
since 2004.
GnuPG-bug-id: 1703
Signed-off-by: Werner Koch <wk@gnupg.org>
| -rw-r--r-- | mpi/longlong.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpi/longlong.h b/mpi/longlong.h index 4f33937f..1ebfdd4f 100644 --- a/mpi/longlong.h +++ b/mpi/longlong.h @@ -1287,7 +1287,7 @@ typedef unsigned int UTItype __attribute__ ((mode (TI))); "rJ" ((USItype)(al)), \ "rI" ((USItype)(bl)) \ __CLOBBER_CC) -#if defined (__sparc_v8__) +#if defined (__sparc_v8__) || defined(__sparcv8) /* Don't match immediate range because, 1) it is not often useful, 2) the 'I' flag thinks of the range as a 13 bit signed interval, while we want to match a 13 bit interval, sign extended to 32 bits, |
