-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lucas Nussbaum wrote: > > What's the autoconf way of knowing with type is a 16 bits signed int, > etc ?
I'm no autoconf expert, but uint16_t uint32_t, int16_t and int32_t are all defined in stdint.h AFAIK. The macro from the archive AC_CREATE_STDINT_H will ensure that stdint.h is included, or attempt to create a relevant header file to define them for you if the system has no stdint.h. AC_CREATE_STDINT_H(src/sysconf.h) Of course that might not resolve all your issues with portability as it doesn't guarantee representation. Simon, who uses lots of 64 bit unsigned integers -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+eeaDGFXfHI9FVgYRAu/TAJ9iFe0PPWkhZhtDD9IdqUBl4EZdHACffpP9 ou1kVqNPYu9+Ch2tJ80EvXw= =HzwR -----END PGP SIGNATURE-----
