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  <[EMAIL PROTECTED]>

        * 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 [EMAIL PROTECTED]@
  typedef unsigned char  uint8_t;
+ # define _UINT8_T /* avoid collision with Solaris 2.5.1 <pthread.h> */
  #endif
  
  #if [EMAIL PROTECTED]@
***************
*** 91,96 ****
--- 92,98 ----
  #endif
  #if [EMAIL PROTECTED]@
  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