diff options
Diffstat (limited to 'apps/codecs/Tremor/misc.h')
-rw-r--r-- | apps/codecs/Tremor/misc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/codecs/Tremor/misc.h b/apps/codecs/Tremor/misc.h index a6eb0fa04a..7d8b846381 100644 --- a/apps/codecs/Tremor/misc.h +++ b/apps/codecs/Tremor/misc.h | |||
@@ -275,6 +275,16 @@ static inline ogg_int32_t VFLOAT_ADD(ogg_int32_t a,ogg_int32_t ap, | |||
275 | return(a); | 275 | return(a); |
276 | } | 276 | } |
277 | 277 | ||
278 | #ifdef __GNUC__ | ||
279 | #if __GNUC__ >= 3 | ||
280 | #define EXPECT(a, b) __builtin_expect((a), (b)) | ||
281 | #else | ||
282 | #define EXPECT(a, b) (a) | ||
283 | #endif | ||
284 | #else | ||
285 | #define EXPECT(a, b) (a) | ||
286 | #endif | ||
287 | |||
278 | #endif | 288 | #endif |
279 | 289 | ||
280 | 290 | ||