if define HAVE_ROUND do not define round again. patch by Steven M. Schultz <sms@2BSD.COM>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15395 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-05-10 00:46:30 +00:00
parent f30e576719
commit c52b30a43d
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{