Commit 6d4731e1 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil: add av_noreturn

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ec3c9a30
......@@ -40,6 +40,14 @@
#endif
#endif
#ifndef av_noreturn
#if AV_GCC_VERSION_AT_LEAST(2,5)
# define av_noreturn __attribute__((noreturn))
#else
# define av_noreturn
#endif
#endif
#ifndef av_noinline
#if AV_GCC_VERSION_AT_LEAST(3,1)
# define av_noinline __attribute__((noinline))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment