Skip to content

Commit

Permalink
dep/imgui: RISC-V compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 23, 2024
1 parent 5d85198 commit d26fc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dep/imgui/src/stb_sprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ STBSP__PUBLICDEC void STB_SPRINTF_DECORATE(set_separators)(char comma, char peri
#define stbsp__uint16 unsigned short

#ifndef stbsp__uintptr
#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) || defined(__s390x__)
#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) || defined(__s390x__) || (defined(__riscv) && __riscv_xlen == 64)
#define stbsp__uintptr stbsp__uint64
#else
#define stbsp__uintptr stbsp__uint32
Expand Down

0 comments on commit d26fc89

Please sign in to comment.