av_builtin_constant_p()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Apr 2010 01:03:27 +0000 (01:03 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Apr 2010 01:03:27 +0000 (01:03 +0000)
Originally committed as revision 22770 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/attributes.h

index 0580c98..1208bc0 100644 (file)
 #endif
 #endif
 
 #endif
 #endif
 
+#ifdef __GNUC__
+#    define av_builtin_constant_p __builtin_constant_p
+#else
+#    define av_builtin_constant_p(x) 0
+#endif
+
 #endif /* AVUTIL_ATTRIBUTES_H */
 #endif /* AVUTIL_ATTRIBUTES_H */