From d1a3edbf0196c07d0ecc1768bfa50febab7b919f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 7 May 2012 17:46:24 +0200 Subject: [PATCH] int_fast*_t workaround for SunOS-5.8. --- ChangeLog | 7 +++++++ nettle-types.h | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 10381aa6..49903d06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-05-07 Niels Möller <nisse@lysator.liu.se> + + * 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 <nisse@lysator.liu.se> * 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 -- GitLab