Tweak for Solaris 2.5.1.
[pspp] / lib / stdint_.h
index 5ac8ce8716ac8e483fc9a76b5d7472f7883d85e9..ab59dce0a4d6a485decaf3ea0437dd787b93c955 100644 (file)
@@ -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 <pthread.h> */
 #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 <pthread.h> */
 #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 <pthread.h> */
 #  define _STDINT_H_HAVE_UINT64 1
 # elif defined _MSC_VER
 typedef unsigned __int64   uint64_t;