diff options
Diffstat (limited to 'apps/plugins/mpegplayer/attributes.h')
-rw-r--r-- | apps/plugins/mpegplayer/attributes.h | 8 |
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 | |||