re PR libgcj/5944 (Use of uint32_t breaks libgcj bootstrap on Solaris 2.5.1)
2002-03-15 Tom Tromey <tromey@redhat.com> Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> Fix for PR libgcj/5944. * gnu/gcj/io/shs.h: Define uint8_t and uint32_t. Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> From-SVN: r50842
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
#else
|
||||
# if HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
# else
|
||||
typedef unsigned int uint8_t __attribute__((mode(QI)));
|
||||
/* This is a blatant hack: on Solaris 2.5, pthread.h defines uint32_t
|
||||
in pthread.h, which we sometimes include. We protect our
|
||||
definition the same way Solaris 2.5 does, to avoid redefining it. */
|
||||
# ifndef _UINT32_T
|
||||
typedef unsigned int uint32_t __attribute__((mode(SI)));
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user