aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-09-07 11:48:25 +0100
committerRon Yorston <rmy@pobox.com>2012-09-07 11:48:25 +0100
commitfecf687cc358883de2da21de33346f0df204c80b (patch)
treed22c606157926fb659374ae68d55e3a874bacf25 /include/platform.h
parentb25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa (diff)
parent6d463de46b418e6c4c8d1397033608f78b33ab21 (diff)
downloadbusybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.gz
busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.bz2
busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.zip
Merge branch 'busybox' into merge
Conflicts: include/libbb.h shell/ash.c
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 925cce60c..78d42fed9 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -301,7 +301,8 @@ typedef unsigned smalluint;
301#define fdprintf dprintf 301#define fdprintf dprintf
302 302
303/* Useful for defeating gcc's alignment of "char message[]"-like data */ 303/* Useful for defeating gcc's alignment of "char message[]"-like data */
304#if 1 /* if needed: !defined(arch1) && !defined(arch2) */ 304#if !defined(__s390__)
305 /* on s390[x], non-word-aligned data accesses require larger code */
305# define ALIGN1 __attribute__((aligned(1))) 306# define ALIGN1 __attribute__((aligned(1)))
306# define ALIGN2 __attribute__((aligned(2))) 307# define ALIGN2 __attribute__((aligned(2)))
307# define ALIGN4 __attribute__((aligned(4))) 308# define ALIGN4 __attribute__((aligned(4)))
@@ -351,6 +352,12 @@ typedef unsigned smalluint;
351# define MAXSYMLINKS SYMLOOP_MAX 352# define MAXSYMLINKS SYMLOOP_MAX
352#endif 353#endif
353 354
355#if defined(ANDROID) || defined(__ANDROID__)
356# define BB_ADDITIONAL_PATH ":/system/sbin:/system/bin:/system/xbin"
357# define SYS_ioprio_set __NR_ioprio_set
358# define SYS_ioprio_get __NR_ioprio_get
359#endif
360
354 361
355/* ---- Who misses what? ------------------------------------ */ 362/* ---- Who misses what? ------------------------------------ */
356 363