Commit 91e131d9 authored by mru's avatar mru

alloc_size attribute is new to gcc 4.3; don't use it with lesser versions


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13665 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f794315a
......@@ -48,7 +48,7 @@
#define av_malloc_attrib
#endif
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 1)
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 2)
#define av_alloc_size(n) __attribute__((alloc_size(n)))
#else
#define av_alloc_size(n)
......
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