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:
parent
5dfde5c80b
commit
95cf600b6c
4 changed files with 35 additions and 27 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue