[FFmpeg-cvslog] r13652 - trunk/libavutil/mem.h

diego subversion
Wed Jun 4 00:10:53 CEST 2008


Author: diego
Date: Wed Jun  4 00:10:53 2008
New Revision: 13652

Log:
Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
patch by Rafa?l Carr?, funman videolan org


Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	(original)
+++ trunk/libavutil/mem.h	Wed Jun  4 00:10:53 2008
@@ -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)




More information about the ffmpeg-cvslog mailing list