attributes: disable flatten on llvm/clang

This commit is contained in:
Vittorio Giovara 2013-10-27 01:45:18 +02:00
parent 3a14b160bd
commit 5858a67f13
1 changed files with 1 additions and 1 deletions

View File

@ -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