changeset 28337:34b7297904ac

Drop HAVE_LRINTF check, lrintf is used without checking in other places.
author diego
date Mon, 26 Jan 2009 09:54:14 +0000
parents 1a5cd79b2e6e
children f375e517f6f6
files libaf/af_format.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_format.c	Mon Jan 26 09:40:04 2009 +0000
+++ b/libaf/af_format.c	Mon Jan 26 09:54:14 2009 +0000
@@ -25,16 +25,9 @@
 #include <string.h>
 #include <inttypes.h>
 #include <limits.h>
+#include <math.h>
 
 #include "config.h"
-// Integer to float conversion through lrintf()
-#if HAVE_LRINTF
-#include <math.h>
-long int lrintf(float);
-#else
-#define lrintf(x) ((int)(x))
-#endif
-
 #include "af.h"
 #include "mpbswap.h"
 #include "libvo/fastmemcpy.h"