1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Nils Wallménius 2008-11-22 16:56:20 +00:00
parent 5dfde5c80b
commit 95cf600b6c
4 changed files with 35 additions and 27 deletions

View file

@ -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