malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

C89 platform file uses C99 header features #5

Closed malsyned closed 6 years ago

malsyned commented 6 years ago

Integer output requires uintptr_t, intmax_t, uintmax_t and ULONG_MAX to be defined, and platform-c89 gets these by including , which is a C99 header.

malsyned commented 6 years ago

Fixed. PFSTest source must now use pfstest_-prefixed versions of stdbool and stdint types, which are guessed for C89 platforms, filled in from those headers on C99 platforms, and can be overridden by built-in or user-defined platform headers.