You guess it - I tried to convince cingg to build on macos 10.12.6
bchash.C:184:13: error: use of undeclared identifier 'open_memstream'
seems to exist (reimplemented ) here
fmemopen also used in bchash.C
pthread_spinlock_t does not exist here ...
there is also bunch of dirent64 vs dirent and this
ffmpeg.C:4499:26: error: no member named 'st_mtim' in 'stat' time_t t = (time_t)tst.st_mtim.tv_sec; ~~~ ^ ffmpeg.C:4502:20: error: no member named 'st_mtim' in 'stat' int64_t us = tst.st_mtim.tv_nsec / 1000; ~~~ ^ 20 warnings and 19 errors generated.
====
I set build against wrong ffmpeg includes ....