1
0
Fork 0
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:
Andrew Mahone 2009-06-06 00:11:41 +00:00
parent de7c5711c5
commit d2eb5d2901

View file

@ -266,8 +266,8 @@ static inline uint32_t swap_odd_even32(uint32_t value)
#endif /* !SIMULATOR */
#ifndef TEST_BIT_N
#define TEST_BIT_N(n, mask) ((1UL << (n)) & (mask))
#ifndef BIT_N
#define BIT_N(n) (1UL << (n))
#endif
/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */