# HG changeset patch # User nplourde # Date 1115685990 0 # Node ID d701716bfbbcbc67c7e70338beb5ed8f2f85240b # Parent 25847230f20e56b18939b030280975967a2c85b1 if define HAVE_ROUND do not define round again. patch by Steven M. Schultz diff -r 25847230f20e -r d701716bfbbc libvo/gtf.c --- a/libvo/gtf.c Tue May 10 00:38:46 2005 +0000 +++ b/libvo/gtf.c Tue May 10 00:46:30 2005 +0000 @@ -9,6 +9,7 @@ */ //Version 0.4 +#include "config.h" #include #include #include @@ -24,10 +25,12 @@ static GTF_constants GTF_given_constants = { 3.0,550.0,1,8,1.8,8,40,20,128,600 }; +#ifndef HAVE_ROUND static double round(double v) { return floor(v + 0.5); } +#endif static void GetRoundedConstants(GTF_constants *c) {