diff options
author | Måns Rullgård <mans@mansr.com> | 2008-06-05 19:49:47 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-06-05 19:49:47 +0000 |
commit | 40c13fecfaa12af94d66f6541aa93f6a235c5d57 (patch) | |
tree | 0c3cdd1abb5c5a316b721bc89bf55104a728617d | |
parent | 218e453a6fe466c79593fdec7a4484594b5f64bd (diff) | |
download | ffmpeg-40c13fecfaa12af94d66f6541aa93f6a235c5d57.tar.gz |
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/mem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h index 5a405bf01b..84d647d8ea 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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) |