Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-17 20:01:11 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-06-17 20:05:31 +0400
commit5015c37b7d7db1450e47a7f77e060bfc7b216172 (patch)
tree246cd60f871c5562c92cd62c1883cdb7d0dcdaaa /libavutil/attributes.h
parent40ffbf20d848d76eae5b8f1bec94bc46dc369fb5 (diff)
attributes: move av_restrict fallback from internal to attributes
This should fix --enable-hardcoded-tables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 04d0cddc48..75d0cec8f1 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -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))