bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stdint_.h tweak


From: Bruno Haible
Subject: stdint_.h tweak
Date: Sat, 17 Jun 2006 21:30:44 +0200
User-agent: KMail/1.9.1

Hi,

I committed this tweak of lib/stdint_.h. It allows <pthread.h> to be
#included after our <stdint.h> replacement on Solaris 2.5.1.

Bruno


2006-06-17  Bruno Haible  <address@hidden>

        * stdint_.h (_UINT8_T, _UINT32_T, _UINT64_T): New macros. Fixes a
        problem on Solaris 2.5.1.

*** stdint_.h   16 Jun 2006 13:29:51 -0000      1.15
--- stdint_.h   17 Jun 2006 19:30:46 -0000
***************
*** 77,82 ****
--- 77,83 ----
  #endif
  #if address@hidden@
  typedef unsigned char  uint8_t;
+ # define _UINT8_T /* avoid collision with Solaris 2.5.1 <pthread.h> */
  #endif
  
  #if address@hidden@
***************
*** 91,96 ****
--- 92,98 ----
  #endif
  #if address@hidden@
  typedef unsigned int   uint32_t;
+ # define _UINT32_T /* avoid collision with Solaris 2.5.1 <pthread.h> */
  #endif
  
  #if @HAVE_INT64_T@
***************
*** 116,121 ****
--- 118,124 ----
  # elif @HAVE_LONG_LONG_64BIT@
  typedef unsigned long long uint64_t;
  #  define _STDINT_H_HAVE_UINT64 1
+ #  define _UINT64_T /* avoid collision with Solaris 2.5.1 <pthread.h> */
  # elif defined _MSC_VER
  typedef unsigned __int64   uint64_t;
  #  define _STDINT_H_HAVE_UINT64 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]