Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-27 03:45:18 +0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2013-11-03 14:51:40 +0400
commit5858a67f135a7395c548482c73cf3d39bcdd3022 (patch)
tree6049ad7dfdaa782241366c8222908cdd0caf2352 /libavutil/attributes.h
parent3a14b160bd442794c6a16a6a883adb547550e847 (diff)
attributes: disable flatten on llvm/clang
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 9f476c9ae3..d7f2bb5c6f 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -66,7 +66,7 @@
# define av_cold
#endif
-#if AV_GCC_VERSION_AT_LEAST(4,1)
+#if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__)
# define av_flatten __attribute__((flatten))
#else
# define av_flatten