shs.cc won't build on Solaris 2.5/sparc

Adam Megacz patches@lists.megacz.com
Sun Feb 24 15:16:00 GMT 2002


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



More information about the Java-patches mailing list