diff options
Diffstat (limited to 'audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h')
-rw-r--r-- | audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h new file mode 100644 index 000000000000..5389cfe01f78 --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h @@ -0,0 +1,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 |