freebsd-ports/multimedia/mplayerxp/files/patch-mplayerxp__libmpdemux__mux_mpxp64.c
Martin Wilke b04cc8eeea - Update to 0.6.1
PR:		ports/107634
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-01-09 22:48:40 +00:00

21 lines
432 B
C

--- mplayerxp/libmpdemux/mux_mpxp64.c.orig Tue Mar 7 19:38:00 2006
+++ mplayerxp/libmpdemux/mux_mpxp64.c Mon Oct 2 02:01:28 2006
@@ -32,6 +32,18 @@
#include "mpxpav64.h"
+#ifndef lrint
+#define lrint(d) ((int32_t)rint(d))
+#endif
+
+#ifndef lrintf
+#define lrintf(f) ((int32_t)rintf(f))
+#endif
+
+#ifndef llrint
+#define llrint(d) ((int64_t)rint(d))
+#endif
+
typedef struct priv_mpxpav64_stream_s
{
/* statistics */