summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-06-06 00:11:41 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-06-06 00:11:41 +0000
commitd2eb5d29017607f3cbf8d29d48e54364c1611c03 (patch)
tree3f6d791884164d59ccd08347eb27523fb1c2edc2
parentde7c5711c5d67e7e69386d6e35e42c8ce15de69b (diff)
downloadrockbox-d2eb5d29017607f3cbf8d29d48e54364c1611c03.tar.gz
rockbox-d2eb5d29017607f3cbf8d29d48e54364c1611c03.zip
Fix undefined BIT_N on non-SH targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/system.h4
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)
266 266
267#endif /* !SIMULATOR */ 267#endif /* !SIMULATOR */
268 268
269#ifndef TEST_BIT_N 269#ifndef BIT_N
270#define TEST_BIT_N(n, mask) ((1UL << (n)) & (mask)) 270#define BIT_N(n) (1UL << (n))
271#endif 271#endif
272 272
273/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */ 273/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */