From 8417d75663d8fb36dd7fd1dfaf9ad8f82cb1bc01 Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Tue, 27 May 2008 09:34:37 +0000 Subject: sleep, not Sleep, and it's from unistd.h --- matchblox/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/matchblox/main.cpp b/matchblox/main.cpp index cedaa0c..310df03 100644 --- a/matchblox/main.cpp +++ b/matchblox/main.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include "message_queue.h" @@ -42,7 +43,7 @@ bool InitWiiMotes() int retries = 10; while(!g_GameState.m_pWiimote[0]->Connect() && retries > 0) { - Sleep(100); + sleep(100); printf("."); //retries--; } @@ -54,7 +55,7 @@ bool InitWiiMotes() g_GameState.m_pWiimote[0]->SetLeds(0x0f); g_GameState.m_pWiimote[0]->StartRumble(); - Sleep(500); + sleep(500); g_GameState.m_pWiimote[0]->StopRumble(); return true; -- cgit v0.12