ac>> Then change the .c files that reference these macros accordingly.
PG> This way was choosen due to use of the format "%8" PRIuMAX in ftnq.c.
PG> I'm not sure is it better to create another macro PRIuMAX8 or keep
PG> existing PRIdMAX without '%'.
My initial reaction was to create a PRIuMAX8. However, inttypes.h in C99 already defines PRIuMAX without the leading %.
And in hindsight I see PRIuMAX is only defined in binkd's sys.h only for pre-C99 versions of MSVC.
So for compatibility with inttypes.h it's best to leave sys.h alone and just hunt for missing % characters in the *.c files (unfortunately).
Normally modern compilers (gcc/clang) are good at flagging printf() format bugs as they're fairly common, so it's strange they are not doing it here, despite building with $(CC) -Wall.
--- GoldED+/BSD 1.1.5-b20180707
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)