diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-06-06 00:11:41 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-06-06 00:11:41 +0000 |
commit | d2eb5d29017607f3cbf8d29d48e54364c1611c03 (patch) | |
tree | 3f6d791884164d59ccd08347eb27523fb1c2edc2 /firmware | |
parent | de7c5711c5d67e7e69386d6e35e42c8ce15de69b (diff) |
Fix undefined BIT_N on non-SH targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 489ed8dc12..d5da2225d6 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -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 */ |