mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
ensure av_noinline is always defined
Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
06c5c560ed
commit
b9c684a2b8
@ -44,9 +44,15 @@
|
|||||||
#ifndef av_always_inline
|
#ifndef av_always_inline
|
||||||
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
||||||
# define av_always_inline __attribute__((always_inline)) inline
|
# define av_always_inline __attribute__((always_inline)) inline
|
||||||
# define av_noinline __attribute__((noinline))
|
|
||||||
#else
|
#else
|
||||||
# define av_always_inline inline
|
# define av_always_inline inline
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef av_noinline
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
||||||
|
# define av_noinline __attribute__((noinline))
|
||||||
|
#else
|
||||||
# define av_noinline
|
# define av_noinline
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user