summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-11-22 16:56:20 +0000
committerNils Wallménius <nils@rockbox.org>2008-11-22 16:56:20 +0000
commit95cf600b6cbc4529a181ab8f60b552138d998a03 (patch)
tree0e9e8a543f9ce498a9b59b22051b3de860bf8db8 /apps/plugins/mpegplayer
parent5dfde5c80b7450aa6c1b25257f90ae62d471065f (diff)
downloadrockbox-95cf600b6cbc4529a181ab8f60b552138d998a03.tar.gz
rockbox-95cf600b6cbc4529a181ab8f60b552138d998a03.zip
Macros should be ALL CAPS, so rename (un)likely() to (UN)LIKELY()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19181 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r--apps/plugins/mpegplayer/attributes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/attributes.h b/apps/plugins/mpegplayer/attributes.h
index 7ad83a3e6e..24b069223b 100644
--- a/apps/plugins/mpegplayer/attributes.h
+++ b/apps/plugins/mpegplayer/attributes.h
@@ -32,3 +32,11 @@
32#define ATTR_ALIGN(align) 32#define ATTR_ALIGN(align)
33#endif 33#endif
34 34
35#if defined(LIKELY) && defined (UNLIKELY)
36#define likely(x) LIKELY(x)
37#define unlikely(x) UNLIKELY(x)
38#else
39#define likely(x) (x)
40#define unlikely(x) (x)
41#endif
42