git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
msvc/icl: Use __declspec(noinline)
[ffmpeg.git]
/
libavutil
/
attributes.h
diff --git
a/libavutil/attributes.h
b/libavutil/attributes.h
index
850a73f
..
9f476c9
100644
(file)
--- 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