(PSL1GHT) Compile in usleep support

This commit is contained in:
twinaphex 2013-01-10 09:33:26 +01:00
parent 530fe37373
commit d599d87df0

View File

@ -61,8 +61,8 @@
#include "msvc/msvc_compat.h"
#endif
// Wii
#if defined(GEKKO)
// Wii and PSL1GHT - for usleep (among others)
#if defined(GEKKO) || defined(__PSL1GHT__)
#include <unistd.h>
#endif
@ -726,7 +726,7 @@ static inline void rarch_sleep(unsigned msec)
Sleep(msec);
#elif defined(XENON)
udelay(1000 * msec);
#elif defined(GEKKO)
#elif defined(GEKKO) || defined(__PSL1GHT__)
usleep(1000 * msec);
#else
struct timespec tv = {0};