diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-11-30 09:45:25 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-11-30 08:45:25 +0000 |
commit | a488b14d1bf6f3238680f9c97cc0ce40cef3f797 (patch) | |
tree | 9ffe4837ba854b17f612e53035ba04ef0448982a | |
parent | b15b83fb3bf49df836c84730431b68d498082825 (diff) | |
download | gcc-a488b14d1bf6f3238680f9c97cc0ce40cef3f797.zip gcc-a488b14d1bf6f3238680f9c97cc0ce40cef3f797.tar.gz gcc-a488b14d1bf6f3238680f9c97cc0ce40cef3f797.tar.bz2 |
libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and _UINT64_T on Solaris.
* libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and
_UINT64_T on Solaris.
From-SVN: r107708
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/libgfortran.h | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index d760b2f..90b4318 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2005-11-30 Eric Botcazou <ebotcazou@libertysurf.fr> + + * libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and + _UINT64_T on Solaris. + 2005-11-28 Steven G. Kargl <kargls@comcast.net> PR libgfortran/25149 diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index ba90fa8..aacc7b8 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -65,9 +65,24 @@ typedef short int16_t; typedef int int32_t; typedef long long int64_t; typedef unsigned char uint8_t; +#if defined(__sun) && defined(__svr4__) +/* Prevent <pthread.h> from redefining uint8_t on Solaris 2.5.1 + FIXME when the header inclusion scheme is revisited. */ +#define _UINT8_T +#endif typedef unsigned short uint16_t; typedef unsigned int uint32_t; +#if defined(__sun) && defined(__svr4__) +/* Prevent <pthread.h> from redefining uint32_t on Solaris 2.5.1 + FIXME when the header inclusion scheme is revisited. */ +#define _UINT32_T +#endif typedef unsigned long long uint64_t; +#if defined(__sun) && defined(__svr4__) +/* Prevent <pthread.h> from redefining uint64_t on Solaris 2.5.1 + FIXME when the header inclusion scheme is revisited. */ +#define _UINT64_T +#endif #endif #if HAVE_SYS_TYPES_H |