changeset 895:6ea86beeedb2 libavutil

av_builtin_constant_p()
author michael
date Fri, 02 Apr 2010 01:03:27 +0000
parents 6be1c118d9d6
children 49c6800079b9
files attributes.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/attributes.h	Tue Mar 30 23:31:16 2010 +0000
+++ b/attributes.h	Fri Apr 02 01:03:27 2010 +0000
@@ -104,4 +104,10 @@
 #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 */