mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Retroshare android service now run and start at boot on android, the qml app is still disfunctional
This commit is contained in:
parent
68a00138d2
commit
279551fe8d
36 changed files with 1076 additions and 79 deletions
|
@ -32,10 +32,19 @@
|
|||
#include "rsserver/rsaccounts.h"
|
||||
#include "rsdiscspace.h"
|
||||
#include <util/rsthreads.h>
|
||||
#ifndef WIN32
|
||||
#include <sys/statvfs.h>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
# include <android/api-level.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
# include <wtypes.h>
|
||||
#elif defined(__ANDROID__) && (__ANDROID_API__ < 21)
|
||||
# include <sys/vfs.h>
|
||||
# define statvfs64 statfs
|
||||
# warning statvfs64 is not supported with android platform < 21 falling back to statfs that is untested (may misbehave)
|
||||
#else
|
||||
#include <wtypes.h>
|
||||
# include <sys/statvfs.h>
|
||||
#endif
|
||||
|
||||
#define DELAY_BETWEEN_CHECKS 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue