forked from len0rd/rockbox
Fix undefined BIT_N on non-SH targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de7c5711c5
commit
d2eb5d2901
1 changed files with 2 additions and 2 deletions
|
|
@ -266,8 +266,8 @@ static inline uint32_t swap_odd_even32(uint32_t value)
|
||||||
|
|
||||||
#endif /* !SIMULATOR */
|
#endif /* !SIMULATOR */
|
||||||
|
|
||||||
#ifndef TEST_BIT_N
|
#ifndef BIT_N
|
||||||
#define TEST_BIT_N(n, mask) ((1UL << (n)) & (mask))
|
#define BIT_N(n) (1UL << (n))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */
|
/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue