I would strongly prefer to introduce a LL_FORMAT macro. Define it like

<verbatim>
#ifdef _WIN32
#define LL_FORMAT "l64d"
#else
#define LL_FORMAT "lld"
#endif
</verbatim>

This would allow sane fallbacks for other ancient / broken platforms.