diff options
author | Niels Möller <nisse@lysator.liu.se> | 2012-05-07 17:46:24 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2012-05-07 17:46:24 +0200 |
commit | d1a3edbf0196c07d0ecc1768bfa50febab7b919f (patch) | |
tree | 41599be5b7f9e4f7e57d64e75f194ebc95799138 | |
parent | fa4331ac60bc7b7c28ed37626c844ed829b29ada (diff) | |
download | nettle-d1a3edbf0196c07d0ecc1768bfa50febab7b919f.tar.gz |
int_fast*_t workaround for SunOS-5.8.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | nettle-types.h | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -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 |