mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avutil: add av_noreturn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ec3c9a3020
commit
6d4731e1f7
@ -40,6 +40,14 @@
|
|||||||
#endif
|
#endif
|
||||||
#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
|
#ifndef av_noinline
|
||||||
#if AV_GCC_VERSION_AT_LEAST(3,1)
|
#if AV_GCC_VERSION_AT_LEAST(3,1)
|
||||||
# define av_noinline __attribute__((noinline))
|
# define av_noinline __attribute__((noinline))
|
||||||
|
Loading…
Reference in New Issue
Block a user