In https://github.com/libspatialindex/libspatialindex/blob/1.9.3/include/spatialindex/capi/sidx_config.h
cinttypes is included if _MSC_VER >= 1900. But cinttypes is C++. Moreover, there is logic for _MSC_VER <= 1500 and _MSC_VER >= 1900, but nothing between them.
Instead, stdint.h for _MSC_VER > 1500 can bridge the gap.
In https://github.com/libspatialindex/libspatialindex/blob/1.9.3/include/spatialindex/capi/sidx_config.h
cinttypesis included if_MSC_VER >= 1900. Butcinttypesis C++. Moreover, there is logic for_MSC_VER <= 1500and_MSC_VER >= 1900, but nothing between them.Instead,
stdint.hfor _MSC_VER > 1500 can bridge the gap.