diff mathematics.c @ 426:d9390a931aef libavutil

Allow compilation of test programs when TEST is defined.
author diego
date Tue, 08 Jan 2008 22:54:49 +0000
parents f9a4c04ebb0e
children e7192ff1857d
line wrap: on
line diff
--- a/mathematics.c	Tue Jan 08 22:53:25 2008 +0000
+++ b/mathematics.c	Tue Jan 08 22:54:49 2008 +0000
@@ -110,7 +110,8 @@
     int64_t c= cq.num * (int64_t)bq.den;
     return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF);
 }
-#if 0
+
+#ifdef TEST
 #include "integer.h"
 #undef printf
 main(void){