summaryrefslogtreecommitdiff
path: root/audio/spiralsynth/patches/patch-am
blob: 4b6610bbf5cba124cdcfe7c106a7ca2377b1b9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-am,v 1.1 2004/11/25 17:24:27 ben Exp $

--- SpiralSound/Output.C.orig	Sun Jun  2 13:58:06 2002
+++ SpiralSound/Output.C
@@ -20,6 +20,9 @@
 #define _ISOC99_SOURCE	1
 #include  <math.h>
 #include "Output.h"
+#ifndef lrintf
+#define lrintf(x)	((long)rintf(x))
+#endif
 
 #define CHECK_AND_REPORT_ERROR	if (result<0)         \
 								{                     \