Fix compilation with g++ 4.7 and some warnings. Fixes issue 5347.

This commit is contained in:
Jordan Woyak
2012-04-07 14:45:12 -05:00
parent 5d9ac22d58
commit 722480cb2e
4 changed files with 71 additions and 70 deletions

View File

@ -21,6 +21,7 @@
#ifdef _WIN32
#define SLEEP(x) Sleep(x)
#else
#include <unistd.h>
#define SLEEP(x) usleep(x*1000)
#endif