Browse Source

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

Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Zuxy Meng 17 years ago
parent
commit
0fd48faca5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/mem.h

+ 1
- 1
libavutil/mem.h View File

@@ -42,7 +42,7 @@
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif

#ifdef __GNUC__
#if defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
#define av_malloc_attrib __attribute__((__malloc__))
#else
#define av_malloc_attrib


Loading…
Cancel
Save