diff options
author | Tias Guns | 2012-06-10 14:26:32 +0200 |
---|---|---|
committer | Denys Vlasenko | 2012-06-10 14:26:32 +0200 |
commit | 3645195377b73bc4265868c26c123e443aaa71c6 (patch) | |
tree | aaa277a2550afb4610af197deda477ee6bb11842 /include | |
parent | a1ec8419139aeb83c473d1543987a69bfbe86725 (diff) | |
download | busybox-3645195377b73bc4265868c26c123e443aaa71c6.zip busybox-3645195377b73bc4265868c26c123e443aaa71c6.tar.gz |
platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH
Signed-off-by: Tias Guns <tias@ulyssis.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index d79cc97..ba534b2 100644 --- a/include/platform.h +++ b/include/platform.h @@ -334,6 +334,12 @@ typedef unsigned smalluint; # define MAXSYMLINKS SYMLOOP_MAX #endif +#if defined(ANDROID) || defined(__ANDROID__) +# define BB_ADDITIONAL_PATH ":/system/sbin:/system/bin:/system/xbin" +# define SYS_ioprio_set __NR_ioprio_set +# define SYS_ioprio_get __NR_ioprio_get +#endif + /* ---- Who misses what? ------------------------------------ */ |