Commit b9c684a2 authored by Aurelien Jacobs's avatar Aurelien Jacobs

ensure av_noinline is always defined

Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 06c5c560
......@@ -44,9 +44,15 @@
#ifndef av_always_inline
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define av_always_inline __attribute__((always_inline)) inline
# define av_noinline __attribute__((noinline))
#else
# 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
#endif
#endif
......
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