attributes: disable flatten on llvm/clang

pull/45/head
Vittorio Giovara 11 years ago
parent 3a14b160bd
commit 5858a67f13
  1. 2
      libavutil/attributes.h

@ -66,7 +66,7 @@
# define av_cold # define av_cold
#endif #endif
#if AV_GCC_VERSION_AT_LEAST(4,1) #if AV_GCC_VERSION_AT_LEAST(4,1) && !defined(__llvm__)
# define av_flatten __attribute__((flatten)) # define av_flatten __attribute__((flatten))
#else #else
# define av_flatten # define av_flatten

Loading…
Cancel
Save