diff options
author | Alex Smith <alex.smith@warpsharp.info> | 2013-09-19 17:33:23 -0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-20 14:40:06 +0300 |
commit | 33b88f2a4ae54d5397c45e39a5326289ebdc7747 (patch) | |
tree | 8edb8f6cdb913b9b22021c2e2dd579962514044b | |
parent | 09f2581dc5edb3642858d69d9a70b67e249167e9 (diff) | |
download | ffmpeg-33b88f2a4ae54d5397c45e39a5326289ebdc7747.tar.gz |
msvc/icl: Use __declspec(noinline)
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavutil/attributes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 850a73ff7a..9f476c9ae3 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -42,6 +42,8 @@ #if AV_GCC_VERSION_AT_LEAST(3,1) # define av_noinline __attribute__((noinline)) +#elif defined(_MSC_VER) +# define av_noinline __declspec(noinline) #else # define av_noinline #endif |