commit | 7ba2bed0b2597b59dcd3d99414bcfa1b559b0acc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Apr 25 15:45:29 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 26 14:34:36 2017 -0700 |
tree | bc6fa032a1749216ce6008bd316d3097046d8da5 | |
parent | 5deddda68e780aaa26e4777378fee10d543eb719 [diff] [blame] |
Make unified headers' SIGRTMIN/SIGRTMAX usable before API 21. Bug: https://github.com/android-ndk/ndk/issues/352 Test: built new NDK test Change-Id: Iacebe574bbf693701949e038005a40ba6520d592
diff --git a/libc/bionic/__libc_current_sigrtmax.cpp b/libc/bionic/__libc_current_sigrtmax.cpp index 27fcb35..32179bb 100644 --- a/libc/bionic/__libc_current_sigrtmax.cpp +++ b/libc/bionic/__libc_current_sigrtmax.cpp
@@ -29,5 +29,7 @@ #include <signal.h> int __libc_current_sigrtmax(void) { + // If you change this, also change __ndk_legacy___libc_current_sigrtmax + // in <android/legacy_signal_inlines.h> to match. return __SIGRTMAX; }