From a51a259e58d7e49e179c041208a77436d6ca09ab Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 27 Jun 2016 08:24:28 +0200 Subject: [PATCH] Add STRING_REP_INT64 --- libretro-common/include/retro_common_api.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libretro-common/include/retro_common_api.h b/libretro-common/include/retro_common_api.h index b82b2195a8..f8d743c7cc 100644 --- a/libretro-common/include/retro_common_api.h +++ b/libretro-common/include/retro_common_api.h @@ -76,10 +76,13 @@ typedef int ssize_t; #endif #ifdef _WIN32 +#define STRING_REP_INT64 "%I64u" #define STRING_REP_ULONG "%Iu" #elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L +#define STRING_REP_INT64 "%llu" #define STRING_REP_ULONG "%zu" #else +#define STRING_REP_INT64 "%llu" #define STRING_REP_ULONG "%lu" #endif