mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 21:34:22 -04:00
fixed win32 compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.4.x@1580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
183fd24502
commit
c9c0e09d7d
2 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "util/rswin.h"
|
||||||
#include "dbase/fimonitor.h"
|
#include "dbase/fimonitor.h"
|
||||||
#include "util/rsdir.h"
|
#include "util/rsdir.h"
|
||||||
#include "serialiser/rsserviceids.h"
|
#include "serialiser/rsserviceids.h"
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#define sleep(x) Sleep(1000 * x)
|
#define sleep(x) Sleep(1000 * x)
|
||||||
|
|
||||||
|
// For win32 systems (tested on MingW+Ubuntu)
|
||||||
|
#define stat64 _stati64
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue