diff options
author | Tias Guns <tias@ulyssis.org> | 2012-06-10 14:26:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-06-10 14:26:32 +0200 |
commit | 3645195377b73bc4265868c26c123e443aaa71c6 (patch) | |
tree | aaa277a2550afb4610af197deda477ee6bb11842 /include/platform.h | |
parent | a1ec8419139aeb83c473d1543987a69bfbe86725 (diff) | |
download | busybox-w32-3645195377b73bc4265868c26c123e443aaa71c6.tar.gz busybox-w32-3645195377b73bc4265868c26c123e443aaa71c6.tar.bz2 busybox-w32-3645195377b73bc4265868c26c123e443aaa71c6.zip |
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/platform.h')
-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 d79cc97e5..ba534b284 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -334,6 +334,12 @@ typedef unsigned smalluint; | |||
334 | # define MAXSYMLINKS SYMLOOP_MAX | 334 | # define MAXSYMLINKS SYMLOOP_MAX |
335 | #endif | 335 | #endif |
336 | 336 | ||
337 | #if defined(ANDROID) || defined(__ANDROID__) | ||
338 | # define BB_ADDITIONAL_PATH ":/system/sbin:/system/bin:/system/xbin" | ||
339 | # define SYS_ioprio_set __NR_ioprio_set | ||
340 | # define SYS_ioprio_get __NR_ioprio_get | ||
341 | #endif | ||
342 | |||
337 | 343 | ||
338 | /* ---- Who misses what? ------------------------------------ */ | 344 | /* ---- Who misses what? ------------------------------------ */ |
339 | 345 | ||