projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cca6d95
)
'malloc' attribute isn't supported in old gcc.
author
Zuxy Meng
<zuxy.meng@gmail.com>
Wed, 19 Mar 2008 07:42:50 +0000
(07:42 +0000)
committer
Zuxy Meng
<zuxy.meng@gmail.com>
Wed, 19 Mar 2008 07:42:50 +0000
(07:42 +0000)
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.h
patch
|
blob
|
history
diff --git
a/libavutil/mem.h
b/libavutil/mem.h
index
d73e225
..
95eb9f5
100644
(file)
--- a/
libavutil/mem.h
+++ b/
libavutil/mem.h
@@
-42,7
+42,7
@@
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif
-#if
def __GNUC__
+#if
defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
#define av_malloc_attrib __attribute__((__malloc__))
#else
#define av_malloc_attrib