Skip to content

Conversation

@rcurtin
Copy link

@rcurtin rcurtin commented Dec 15, 2025

This adds the STBIR_MEMCPY_NOUNALIGNED macro in the same way that stb_sprintf.h does. By defining this macro, the compiled code will not use any unaligned accesses, which on some architectures causes problems. This is a fix for #1857.

Totally open to any other approaches to do this or whatever, it had just sat for a while and I wanted to get a fix in.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants