changeset 15394:d701716bfbbc

if define HAVE_ROUND do not define round again. patch by Steven M. Schultz <sms@2BSD.COM>
author nplourde
date Tue, 10 May 2005 00:46:30 +0000
parents 25847230f20e
children 1f7fc4c588e3
files libvo/gtf.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <stdio.h> 
 #include <stdlib.h> 
 #include <math.h> 
@@ -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)
     {