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
+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.
+
2002-03-15 Anthony Green <green@redhat.com>
* configure.in (tool_include_dir): Define.
#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