From 7cde32a2b3666a93398a6cf7d6be048808b18f29 Mon Sep 17 00:00:00 2001 From: Hugo Hromic Date: Thu, 7 Feb 2019 23:23:31 +0000 Subject: [PATCH] libretro-common: fix PRI_SIZET not being set in PS2 * use `lu` for PS2 builds --- libretro-common/include/retro_miscellaneous.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro-common/include/retro_miscellaneous.h b/libretro-common/include/retro_miscellaneous.h index 13364c8859..814bdef923 100644 --- a/libretro-common/include/retro_miscellaneous.h +++ b/libretro-common/include/retro_miscellaneous.h @@ -165,6 +165,8 @@ typedef struct # define PRI_SIZET "u" # endif # endif +#elif PS2 +# define PRI_SIZET "lu" #else # if (SIZE_MAX == 0xFFFF) # define PRI_SIZET "hu"