From b97d06e0fae0a40fab79a5b6eeedd4d8ba7d3df4 Mon Sep 17 00:00:00 2001 From: arlecchino Date: Tue, 5 Nov 2019 17:39:22 +0100 Subject: [PATCH] fix: stb_sprintf - gcc defines __powerpc64__ Fix for stb_sprintf https://github.com/nothings/stb/issues/806 fixes #806 --- stb_sprintf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_sprintf.h b/stb_sprintf.h index e3a3018..5957fe5 100644 --- a/stb_sprintf.h +++ b/stb_sprintf.h @@ -200,7 +200,7 @@ STBSP__PUBLICDEF void STB_SPRINTF_DECORATE(set_separators)(char comma, char peri #define stbsp__uint16 unsigned short #ifndef stbsp__uintptr -#if defined(__ppc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) +#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) #define stbsp__uintptr stbsp__uint64 #else #define stbsp__uintptr stbsp__uint32