summaryrefslogtreecommitdiff
path: root/firmware/include/core_alloc.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-28 21:27:41 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-09-19 15:09:51 -0400
commitf622bcfe4fd966af4c5ac5deadb4f3e74026078b (patch)
treedcb3a2f98dc0ce26d6478c11a3690b7750a494f2 /firmware/include/core_alloc.h
parentbcaa9465e99051bef52eeb2124b91dacaf2d7ee3 (diff)
downloadrockbox-f622bcfe4fd966af4c5ac5deadb4f3e74026078b.tar.gz
rockbox-f622bcfe4fd966af4c5ac5deadb4f3e74026078b.zip
buflib: fix buflib_context_relocate alignment check
Use the standard IS_ALIGNED macro and check alignment against sizeof(buflib_data), as it can be greater than 4 bytes if we're on a 64-bit platform (eg. simulator). Change-Id: I15110937d1f2978e733d169050de9531fe218214
Diffstat (limited to 'firmware/include/core_alloc.h')
0 files changed, 0 insertions, 0 deletions