RetroShare/libretroshare/src/util/rswin.h
2009-09-05 18:45:00 +00:00

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