mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
build: fix red in 7eeb4e4302
STORAGE_WANTS_ALIGN needs to be ignored for simulator builds Change-Id: I4d788f91d3d1ed81c0621b9adac985ca188d918c
This commit is contained in:
parent
7eeb4e4302
commit
408f155f53
1 changed files with 2 additions and 2 deletions
|
|
@ -326,7 +326,7 @@ static inline void cpu_boost_unlock(void)
|
|||
#define STORAGE_WANTS_ALIGN
|
||||
#endif
|
||||
|
||||
#ifdef STORAGE_WANTS_ALIGN
|
||||
#if defined(STORAGE_WANTS_ALIGN) && !defined(SIMULATOR)
|
||||
#define STORAGE_ALIGN_ATTR __attribute__((aligned(CACHEALIGN_SIZE)))
|
||||
#define STORAGE_ALIGN_DOWN(x) \
|
||||
((typeof (x))ALIGN_DOWN_P2((uintptr_t)(x), CACHEALIGN_BITS))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue