Commit 5015c37b authored by Michael Niedermayer's avatar Michael Niedermayer

attributes: move av_restrict fallback from internal to attributes

This should fix --enable-hardcoded-tables
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 40ffbf20
......@@ -72,6 +72,10 @@
#endif
#endif
#ifndef av_restrict
#define av_restrict restrict
#endif
#ifndef av_const
#if AV_GCC_VERSION_AT_LEAST(2,6)
# define av_const __attribute__((const))
......
......@@ -53,10 +53,6 @@ struct AVDictionary {
#endif
#endif
#ifndef av_restrict
#define av_restrict restrict
#endif
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1)
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment