Mercurial > libavutil.hg
comparison common.h @ 662:1ed74ddc5e6b libavutil
av_flatten to make the similarly named attribute available.
author | michael |
---|---|
date | Mon, 09 Feb 2009 21:47:57 +0000 |
parents | ac3fc6cb4781 |
children | 39c6caee1839 |
comparison
equal
deleted
inserted
replaced
661:ac3fc6cb4781 | 662:1ed74ddc5e6b |
---|---|
72 #ifndef av_cold | 72 #ifndef av_cold |
73 #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3) | 73 #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3) |
74 # define av_cold __attribute__((cold)) | 74 # define av_cold __attribute__((cold)) |
75 #else | 75 #else |
76 # define av_cold | 76 # define av_cold |
77 #endif | |
78 #endif | |
79 | |
80 #ifndef av_flatten | |
81 #if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 0) | |
82 # define av_flatten __attribute__((flatten)) | |
83 #else | |
84 # define av_flatten | |
77 #endif | 85 #endif |
78 #endif | 86 #endif |
79 | 87 |
80 #ifndef attribute_deprecated | 88 #ifndef attribute_deprecated |
81 #if AV_GCC_VERSION_AT_LEAST(3,1) | 89 #if AV_GCC_VERSION_AT_LEAST(3,1) |