Commit d326dd97 authored by Rafaël Carré's avatar Rafaël Carré Committed by Diego Biurrun

Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.

patch by Rafaël Carré, funman videolan org

Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 99587795
......@@ -42,13 +42,13 @@
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif
#if defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
#define av_malloc_attrib __attribute__((__malloc__))
#else
#define av_malloc_attrib
#endif
#if defined(__GNUC__) && (__GNU__ > 4 || __GNU__ == 4 && __GNU_MINOR__ > 1)
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 1)
#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