summaryrefslogblamecommitdiff
path: root/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
blob: 5389cfe01f78dc43650d9ca2074159a94451fc93 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                        
--- common/plugins/resamplers/helpers.h.orig	Sun Oct 26 04:16:26 2003
+++ common/plugins/resamplers/helpers.h	Thu Oct 30 12:02:04 2003
@@ -17,6 +17,11 @@
 #define HELPERS_H
 
 
+#if defined(__FreeBSD__)
+  #define lrint(flt)	((int) (flt))
+  #define lrintf(flt)	((int) (flt))
+#endif
+
 //hardcoded for now!
 #define FILTER_BITS 12
 #define RAMP_BITS 11