]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
int_fast*_t workaround for SunOS-5.8.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 7 May 2012 15:46:24 +0000 (17:46 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 7 May 2012 15:46:24 +0000 (17:46 +0200)
ChangeLog
nettle-types.h

index 10381aa67c956a3073904abec22d8ac16b9d5dc4..49903d06cb3b639a9630b41b4b12b12a74360f04 100644 (file)
--- 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
index b694332eeec4ec3676961ffbd028606284fdeb00..9406c6f6d7d454680ef40535dfbe34ae8469bd93 100644 (file)
@@ -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