On Mon, Jun 1, 2026 at 3:37 PM Sean McBride <[email protected]> wrote: > > On 31 May 2026, at 13:38, Branko Čibej wrote: > > We can't use snprintf() because it's C99. Subversion is written in C90. > > You could always do: > > #ifdef APPLE || (STDC_VERSION >= 199901L) > snprintf(...) > #else > sprintf(...) > #endif > > I would not be surprised if Apple removes sprintf() one day, this way you'd > be ready.
You could even remove the APPLE from that condition and just check for STDC_VERSION. We are implemented in C90 but nothing stops someone from building with a later standard. Nathan

