WIN-09.: shs.h, shs.cc, natSimpleSHSStream.cc: use uint<n>_t instead of LONG and BYTE
Adam Megacz
patches@lists.megacz.com
Fri Feb 1 15:17:00 GMT 2002
Tom Tromey <tromey@redhat.com> writes:
> Can we assume uint<n>_t on all platforms? Or would we need configury
> support here?
Isn't that stuff pretty standard?
It's available on all the platforms gcj supports (win32, linux,
solaris, macosx).
> Adam> -typedef unsigned char BYTE;
> Adam> -typedef unsigned int LONG; /* A 32-bit type */
> Simpler in our code would be to use jbyte and jint.
> We know jint is a 32-bit integer.
That sounds better.
> However, I don't know if `unsigned jint' will work or not.
Sadly, no
unsigned jint foo;
foo.cc:24: syntax error before `;' token
- a
More information about the Java-patches
mailing list