From 9b99a48cdb7cb00b5aa9c2bcd6a3d98b8464457b Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 27 Nov 2017 17:12:30 +0100 Subject: [PATCH] just remembered these PRIs don't start with % --- libretro-common/include/retro_common_api.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libretro-common/include/retro_common_api.h b/libretro-common/include/retro_common_api.h index 6967d31adb..7be1affe29 100644 --- a/libretro-common/include/retro_common_api.h +++ b/libretro-common/include/retro_common_api.h @@ -78,13 +78,13 @@ typedef int ssize_t; #ifndef _WIN32 #include #else -#define PRId64 "%I64d" -#define PRIu64 "%I64u" -#define PRIuPTR "%Iu" +#define PRId64 "I64d" +#define PRIu64 "I64u" +#define PRIuPTR "Iu" #endif -#define STRING_REP_INT64 PRId64 -#define STRING_REP_UINT64 PRIu64 -#define STRING_REP_USIZE PRIuPTR +#define STRING_REP_INT64 "%" PRId64 +#define STRING_REP_UINT64 "%" PRIu64 +#define STRING_REP_USIZE "%" PRIuPTR /* I would like to see retro_inline.h moved in here; possibly boolean too.