zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 2cf196e7a6b037813f98be95a8e2bd7adc22be8f
parent ffabc4d65c54ea72a7318251be44120c9e87c542
Author: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com>
Date:   Sun,  5 Jul 2020 14:57:33 +0200

[WIN32] Fix error on missing usleep()
Diffstat:
Msrc/Misc/Master.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -1796,7 +1796,7 @@ int Master::saveOSC(const char *filename, master_dispatcher_t* dispatcher, // We need to wait until savefile has been loaded into master2 int i; for(i = 0; i < 20 && master2->uToB->hasNext(); ++i) - usleep(50000); + os_usleep(50000); if(i >= 20) // >= 1 second? { // Master failed to fetch its messages