Commit 49cd253a authored by zuxy's avatar zuxy

'malloc' attribute isn't supported in old gcc.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12500 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8bc923a
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define DECLARE_ASM_CONST(n,t,v) static const t v #define DECLARE_ASM_CONST(n,t,v) static const t v
#endif #endif
#ifdef __GNUC__ #if defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
#define av_malloc_attrib __attribute__((__malloc__)) #define av_malloc_attrib __attribute__((__malloc__))
#else #else
#define av_malloc_attrib #define av_malloc_attrib
......
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