Skip to content
Myr

fix: stb_sprintf - gcc defines __powerpc64__

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix for stb_sprintf https://github.com/nothings/stb/issues/806 fixes #806

authored by arlecchino · committed by GitHub · parent f67165c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb_sprintf.h+1 added-1 removed
198 unmodified lines
199#endif200#define stbsp__uint16 unsigned short201202#ifndef stbsp__uintptr203#if defined(__ppc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64)203#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64)204#define stbsp__uintptr stbsp__uint64205#else206#define stbsp__uintptr stbsp__uint32207#endif
1653 unmodified lines