This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: shs.cc won't build on Solaris 2.5/sparc
- From: Adam Megacz <patches at lists dot megacz dot com>
- To: java-patches at gcc dot gnu dot org
- Date: 24 Feb 2002 15:07:09 -0800
- Subject: Re: shs.cc won't build on Solaris 2.5/sparc
- Organization: Myself
- References: <ork7t3c7wn.fsf@free.redhat.lsd.ic.unicamp.br>
Alexandre Oliva <aoliva@redhat.com> writes:
> uint32_t and uint8_t are only available on Solaris 2.5 when pthread.h
> is included (!!!).
Sorry, I broke this.
Can somebody enlighten me on this? Most of my experience is in
Java/Perl/ML/Haskell... I was under the impression that if you're
programming in C, and you want an integer that's 32 bits wide,
uint32_t is the 'official' way to do it. If your platform doesn't
provide that, then your platform is broken, and you need to generate a
header to define those ints.
If this is not correct, what is the universal way to get a 32-bit wide
int?
- a
--
"If I put copyrighted material into the 'chewy nougat center', I can
claim the crunchy chocolate coating is an 'Access Control
Mechanism'." --lynx_user_abroad