From d326dd97976a11e44db9b0ec18ad0050c147b04f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 3 Jun 2008 22:10:53 +0000 Subject: Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition. patch by Rafaël Carré, funman videolan org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/mem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/mem.h') diff --git a/libavutil/mem.h b/libavutil/mem.h index e51976f0f7..5a405bf01b 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -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) -- cgit v1.2.3