From: Niels Möller Date: Mon, 7 May 2012 15:46:24 +0000 (+0200) Subject: int_fast*_t workaround for SunOS-5.8. X-Git-Tag: nettle_2.5_release_20120707~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1a3edbf0196c07d0ecc1768bfa50febab7b919f;p=thirdparty%2Fnettle.git int_fast*_t workaround for SunOS-5.8. --- diff --git a/ChangeLog b/ChangeLog index 10381aa6..49903d06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-05-07 Niels Möller + + * nettle-types.h (_STDINT_HAVE_INT_FAST32_T): Define here, to + force nettle-stdint.h to not try to define the int_fast*_t types. + Avoids compilation gnutls problems on SunOS-5.8, where the + definitions here collide with gnulib's. + 2012-04-23 Niels Möller * nettle-internal.h (NETTLE_MAX_BIGNUM_SIZE): New constant. Based diff --git a/nettle-types.h b/nettle-types.h index b694332e..9406c6f6 100644 --- a/nettle-types.h +++ b/nettle-types.h @@ -23,6 +23,9 @@ #ifndef NETTLE_TYPES_H #define NETTLE_TYPES_H +/* Pretend these types always exists. Nettle doesn't use them. */ +#define _STDINT_HAVE_INT_FAST32_T 1 + #include "nettle-stdint.h" #ifdef __cplusplus