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:
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))