mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-20 20:56:17 +02:00
MSVC has no ssize_t, which made every translation unit fail on Windows. Define aare::ssize_t in defs.hpp: the platform ssize_t on POSIX (so nothing changes there) and std::ptrdiff_t on MSVC. Code inside the namespace picks it up unchanged; the few files that use ssize_t outside the namespace get a using-declaration. FilePtr.hpp now includes defs.hpp since it had no aare include. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>