mirror of
https://github.com/nothings/stb
synced 2024-12-15 04:22:35 +03:00
fix: stb_sprintf - gcc defines __powerpc64__
Fix for stb_sprintf https://github.com/nothings/stb/issues/806 fixes #806
This commit is contained in:
parent
f67165c2bb
commit
b97d06e0fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user