missing file for defining sleep() etc under windows.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-11-22 17:48:09 +00:00
parent 83720439f0
commit 2c64dec723

View File

@ -0,0 +1,14 @@
#ifndef RS_UNIVERSAL_STUFF
#define RS_UNIVERSAL_STUFF
#ifdef WIN32
#include <unistd.h>
#define sleep(x) Sleep(1000 * x)
#endif
#endif