2009-08-10 02:01:55 +02:00
|
|
|
$NetBSD: patch-ad,v 1.4 2009/08/10 00:01:56 tnn Exp $
|
2004-05-15 15:01:02 +02:00
|
|
|
|
2009-08-10 02:01:55 +02:00
|
|
|
--- libfaad/common.h.orig 2009-02-05 01:51:03.000000000 +0100
|
2007-12-09 11:55:30 +01:00
|
|
|
+++ libfaad/common.h
|
2009-08-10 02:01:55 +02:00
|
|
|
@@ -41,7 +41,7 @@ extern "C" {
|
|
|
|
|
|
|
|
#include "neaacdec.h"
|
2004-05-15 15:01:02 +02:00
|
|
|
|
2007-12-09 11:55:30 +01:00
|
|
|
-#if 1
|
|
|
|
+#if 0
|
|
|
|
#define INLINE __inline
|
2004-05-15 15:01:02 +02:00
|
|
|
#else
|
2007-12-09 11:55:30 +01:00
|
|
|
#define INLINE inline
|
2009-08-10 02:01:55 +02:00
|
|
|
@@ -330,7 +330,7 @@ char *strchr(), *strrchr();
|
2007-12-09 11:55:30 +01:00
|
|
|
#ifndef HAVE_LRINTF
|
2004-07-31 10:10:47 +02:00
|
|
|
#define HAS_LRINTF
|
|
|
|
// from http://www.stereopsis.com/FPU.html
|
|
|
|
- static INLINE int lrintf(float f)
|
2007-12-09 11:55:30 +01:00
|
|
|
+ static INLINE long int lrintf(float f)
|
2004-07-31 10:10:47 +02:00
|
|
|
{
|
|
|
|
int i;
|
|
|
|
__asm__ __volatile__ (
|