From 92963f62672f81f79a01e57309772c468582d87d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 17 Jun 2006 19:33:36 +0000 Subject: [PATCH] Tweak for Solaris 2.5.1. --- lib/ChangeLog | 5 +++++ lib/stdint_.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 8c9454d563..a9a54771d2 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-06-17 Bruno Haible + + * stdint_.h (_UINT8_T, _UINT32_T, _UINT64_T): New macros. Fixes a + problem on Solaris 2.5.1. + 2006-06-16 Eric Blake * unsetenv.c [!defined errno]: Assume errno.h declares errno. diff --git a/lib/stdint_.h b/lib/stdint_.h index 5ac8ce8716..ab59dce0a4 100644 --- a/lib/stdint_.h +++ b/lib/stdint_.h @@ -77,6 +77,7 @@ typedef signed char int8_t; #endif #if !@HAVE_UINT8_T@ typedef unsigned char uint8_t; +# define _UINT8_T /* avoid collision with Solaris 2.5.1 */ #endif #if !@HAVE_INT16_T@ @@ -91,6 +92,7 @@ typedef int int32_t; #endif #if !@HAVE_UINT32_T@ typedef unsigned int uint32_t; +# define _UINT32_T /* avoid collision with Solaris 2.5.1 */ #endif #if @HAVE_INT64_T@ @@ -115,6 +117,7 @@ typedef unsigned long uint64_t; # define _STDINT_H_HAVE_UINT64 1 # elif @HAVE_LONG_LONG_64BIT@ typedef unsigned long long uint64_t; +# define _UINT64_T /* avoid collision with Solaris 2.5.1 */ # define _STDINT_H_HAVE_UINT64 1 # elif defined _MSC_VER typedef unsigned __int64 uint64_t; -- 2.30.2