The existing gr_types.h file does the following for the current types:
typedef short gr_int16;
typedef int gr_int32;
typedef unsigned short gr_uint16;
typedef unsigned int gr_uint32;
That's not portable; int is usually 64 bits on alphas.
Probably the best bet is to have an autoconf test for <stdint.h>, and
include and use those types to define gr_foo if it is present, and if
not have OS-specific workarounds. stdint is C99, so it's unlikely
that any system that can build all of GNU Radio's dependencies won't
have it.
--
Greg Troxel <[EMAIL PROTECTED]>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio