1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

attributes: move av_restrict fallback from internal to attributes

This should fix --enable-hardcoded-tables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-06-17 18:01:11 +02:00
parent 40ffbf20d8
commit 5015c37b7d
2 changed files with 4 additions and 4 deletions

View File

@@ -72,6 +72,10 @@
#endif #endif
#endif #endif
#ifndef av_restrict
#define av_restrict restrict
#endif
#ifndef av_const #ifndef av_const
#if AV_GCC_VERSION_AT_LEAST(2,6) #if AV_GCC_VERSION_AT_LEAST(2,6)
# define av_const __attribute__((const)) # define av_const __attribute__((const))

View File

@@ -53,10 +53,6 @@ struct AVDictionary {
#endif #endif
#endif #endif
#ifndef av_restrict
#define av_restrict restrict
#endif
#ifndef INT16_MIN #ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1) #define INT16_MIN (-0x7fff - 1)
#endif #endif