diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-08-11 21:52:40 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-08-11 21:52:40 +0000 |
commit | b9c684a2b874713d874a6cc5bb8e809b0aa703ff (patch) | |
tree | a712d59698e7e789dc44fd6014ca9cd3a6eca5f8 /libavutil/common.h | |
parent | 06c5c560eda6c754b5aecd16d8b83b62b88d386e (diff) | |
download | ffmpeg-b9c684a2b874713d874a6cc5bb8e809b0aa703ff.tar.gz |
ensure av_noinline is always defined
Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r-- | libavutil/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 7b23c3cccc..bbade55bfa 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -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 |