[FFmpeg-devel] [PATCH 8/8] Doxyfile: imitate gcc for better libavutil/attributes.h documentation

Timothy Gu timothygu99 at gmail.com
Fri Jul 4 20:06:47 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 doc/Doxyfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/Doxyfile b/doc/Doxyfile
index e2a9d05..caee89f 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1359,6 +1359,8 @@ PREDEFINED             = "__attribute__(x)=" \
                          "DECLARE_ALIGNED(a,t,n)=t n" \
                          "offsetof(x,y)=0x42" \
                          av_alloc_size \
+                         AV_GCC_VERSION_AT_LEAST(x,y)=1 \
+                         __GNUC__=1 \
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 # this tag can be used to specify a list of macro names that should be expanded.
-- 
1.9.1



More information about the ffmpeg-devel mailing list