diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/timidity.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index ade73c0f8a..4e1ddb770a 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -59,6 +59,12 @@ #define INADDR_NONE 0xffffffff #endif +// BeOS BONE uses snooze (x/1000) in place of usleep(x) +#ifdef __BEOS__ +#define usleep(v) snooze(v/1000) +#endif + + #define SEQ_MIDIPUTC 5 #define TIMIDITY_LOW_DELAY |