mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
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:
parent
83720439f0
commit
2c64dec723
14
libretroshare/src/util/rswin.h
Normal file
14
libretroshare/src/util/rswin.h
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user