[FFmpeg-cvslog] r17114 - trunk/libavutil/common.h

diego subversion
Tue Feb 10 02:24:06 CET 2009


Author: diego
Date: Tue Feb 10 02:24:06 2009
New Revision: 17114

Log:
Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.

Modified:
   trunk/libavutil/common.h

Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	Tue Feb 10 01:27:42 2009	(r17113)
+++ trunk/libavutil/common.h	Tue Feb 10 02:24:06 2009	(r17114)
@@ -78,7 +78,7 @@
 #endif
 
 #ifndef av_flatten
-#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 0)
+#if AV_GCC_VERSION_AT_LEAST(4,1)
 #    define av_flatten __attribute__((flatten))
 #else
 #    define av_flatten




More information about the ffmpeg-cvslog mailing list