diff options
author | Max Horn | 2009-02-02 18:33:38 +0000 |
---|---|---|
committer | Max Horn | 2009-02-02 18:33:38 +0000 |
commit | eb5ec2369f5aac4269bb4ea561a5eaf7ae491417 (patch) | |
tree | 5caaafb3e2dc78eb25e749b5bee719cddf28e647 /backends | |
parent | f969404ff5c0ce9b272d8390298c39f309958386 (diff) | |
download | scummvm-rg350-eb5ec2369f5aac4269bb4ea561a5eaf7ae491417.tar.gz scummvm-rg350-eb5ec2369f5aac4269bb4ea561a5eaf7ae491417.tar.bz2 scummvm-rg350-eb5ec2369f5aac4269bb4ea561a5eaf7ae491417.zip |
#define usleep on BeOS
svn-id: r36201
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 |