mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-28 19:01:36 -05:00

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
19 lines
240 B
C
19 lines
240 B
C
#ifndef RS_UNIVERSAL_STUFF
|
|
#define RS_UNIVERSAL_STUFF
|
|
|
|
#if defined(WIN32) || defined(MINGW)
|
|
|
|
#include <unistd.h>
|
|
#define sleep(x) Sleep(1000 * x)
|
|
|
|
// For win32 systems (tested on MingW+Ubuntu)
|
|
#define stat64 _stati64
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|