diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-10-27 01:45:18 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-11-03 11:51:40 +0100 |
commit | 5858a67f135a7395c548482c73cf3d39bcdd3022 (patch) | |
tree | 6049ad7dfdaa782241366c8222908cdd0caf2352 | |
parent | 3a14b160bd442794c6a16a6a883adb547550e847 (diff) | |
download | ffmpeg-5858a67f135a7395c548482c73cf3d39bcdd3022.tar.gz |
attributes: disable flatten on llvm/clang
-rw-r--r-- | libavutil/attributes.h | 2 |
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 |