diff options
| author | Andrew Hsieh <andrewhsieh@google.com> | 2014-05-12 12:10:29 +0800 |
|---|---|---|
| committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-05-12 12:14:33 +0800 |
| commit | 154e19fda6a3ec10c050069b3320b79be247759b (patch) | |
| tree | 227c586cae6253711aafe2dec6103ae3bf45c864 /ndk/sources/android | |
| parent | 4645251978aaa9e9db0501efb03f56432a1b9b85 (diff) | |
| download | android_development-154e19fda6a3ec10c050069b3320b79be247759b.tar.gz android_development-154e19fda6a3ec10c050069b3320b79be247759b.tar.bz2 android_development-154e19fda6a3ec10c050069b3320b79be247759b.zip | |
Restore stdint.h for android-3..19 to the original headers
$NDK/tests/standalone/run.sh fail to run with last update on stdint.h
to android-20 level. Restore stdint.h for fear of the new one breaking
the existing apps
Also fix signal_portable.h to use SIGRTMIN/MAX in old headers
(which got renamed to __SIGRTMIN in new header)
Also change _JBLEN to 1024 which shall be large enough to store CPU
states for forseable future.
Change-Id: Ia9c03558a258c10434eb8e6985adc122532feaa3
Diffstat (limited to 'ndk/sources/android')
| -rw-r--r-- | ndk/sources/android/libportable/common/include/asm/signal_portable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ndk/sources/android/libportable/common/include/asm/signal_portable.h b/ndk/sources/android/libportable/common/include/asm/signal_portable.h index 63f9224ad..48d33f59a 100644 --- a/ndk/sources/android/libportable/common/include/asm/signal_portable.h +++ b/ndk/sources/android/libportable/common/include/asm/signal_portable.h @@ -103,6 +103,14 @@ typedef unsigned long sigset_portable_t; * lib-portable application can interact with. MIPS has * an additional 63 signals. */ + +#ifndef __SIGRTMIN +#define __SIGRTMIN SIGRTMIN +#endif +#ifndef __SIGRTMAX +#define __SIGRTMAX SIGRTMAX +#endif + #define SIGRT_1 (__SIGRTMIN + 1) #define SIGRT_2 (__SIGRTMIN + 2) #define SIGRT_3 (__SIGRTMIN + 3) |
