Cool, I might just do that. Yeah I know C89 is a bit extreme, but to ensure proper portability to OpenBSD, FreeBSD, NetBSD, Windows, Linux, macOS, and illumos, using C89 seems to be the path of least resistance.


On Tue, Jan 5, 2021 at 6:16 PM Andreas Schneider <asn@cryptomilk.org> wrote:
On Tuesday, 5 January 2021 00:54:38 CET Samuel Marks wrote:
> What about C89 compatibility? - Are you going to `ifdef` stdint?

cmocka already requires C99. However there is a cmocka_platform.h you can
create to define types your platform doesn't provide like uintmax_t and then
compile cmocka.

C89? Really? I mean C99 is more than 20 years old now. There was enough time
to implement it in the meantime ;-)