[Scummvm-cvs-logs] SF.net SVN: scummvm:[36202] scummvm/branches/branch-0-13-0/backends/midi/ timidity.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Feb 2 19:34:19 CET 2009


Revision: 36202
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36202&view=rev
Author:   fingolfin
Date:     2009-02-02 18:34:19 +0000 (Mon, 02 Feb 2009)

Log Message:
-----------
Backport BeOS Timidity change

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/backends/midi/timidity.cpp

Modified: scummvm/branches/branch-0-13-0/backends/midi/timidity.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/backends/midi/timidity.cpp	2009-02-02 18:33:38 UTC (rev 36201)
+++ scummvm/branches/branch-0-13-0/backends/midi/timidity.cpp	2009-02-02 18:34:19 UTC (rev 36202)
@@ -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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list