diff options
Diffstat (limited to 'src/lib/compose.hpp')
| -rw-r--r-- | src/lib/compose.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/compose.hpp b/src/lib/compose.hpp index b78a8b9eb..2d2294717 100644 --- a/src/lib/compose.hpp +++ b/src/lib/compose.hpp @@ -124,7 +124,11 @@ namespace StringPrivate inline void write(std::string& s, const int64_t& obj) { char buffer[64]; +#ifdef DCPOMATIC_WINDOWS + __mingw_snprintf(buffer, 64, "%" PRId64, obj); +#else snprintf(buffer, 64, "%" PRId64, obj); +#endif s += buffer; } |
