From 95cf600b6cbc4529a181ab8f60b552138d998a03 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 22 Nov 2008 16:56:20 +0000 Subject: 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 --- apps/plugins/mpegplayer/attributes.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/mpegplayer') 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 @@ #define ATTR_ALIGN(align) #endif +#if defined(LIKELY) && defined (UNLIKELY) +#define likely(x) LIKELY(x) +#define unlikely(x) UNLIKELY(x) +#else +#define likely(x) (x) +#define unlikely(x) (x) +#endif + -- cgit v1.2.3