1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/faad/files/patch-libfaad_common.h
Michael Johnson ed9379928e - Fix build with new lrintf math functions [1]
- Simplify COMMENT
- Update pkg-desc

Submitted by:	Dan Larsson [1]
2005-01-19 05:31:03 +00:00

17 lines
440 B
C

--- libfaad/common.h.orig Fri Feb 6 13:55:24 2004
+++ libfaad/common.h Wed Jan 19 01:52:32 2005
@@ -308,6 +308,7 @@
return i;
}
#elif (defined(__i386__) && defined(__GNUC__))
+ #ifndef HAVE_LRINTF
#define HAS_LRINTF
// from http://www.stereopsis.com/FPU.html
static INLINE int lrintf(float f)
@@ -320,6 +321,7 @@
: "m" (f));
return i;
}
+ #endif /* HAVE_LRINTF */
#endif