aboutsummaryrefslogtreecommitdiffstats
path: root/libcutils/Android.mk
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-19 14:07:26 -0700
committerJeff Brown <jeffbrown@google.com>2012-03-19 14:07:26 -0700
commit4a6b384f607feed3755cfcbcdfded55fc2ccce82 (patch)
treec7324a4820f80d979181610bb63c20c45523eb79 /libcutils/Android.mk
parent14d0c6c7c0e9abd39e4b4d0a384d12de5ecbdbfc (diff)
downloadsystem_core-4a6b384f607feed3755cfcbcdfded55fc2ccce82.tar.gz
system_core-4a6b384f607feed3755cfcbcdfded55fc2ccce82.tar.bz2
system_core-4a6b384f607feed3755cfcbcdfded55fc2ccce82.zip
Provide portable wrapper for qsort_r.
qsort_r() is declared differently on BSD and GNU libc and may be absent on other platforms. Provide qsort_r_compat() which should work everywhere. Change-Id: I17a9026573b1ed971ff7d79895e7eb41ba108807
Diffstat (limited to 'libcutils/Android.mk')
-rw-r--r--libcutils/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk
index 38097337..0d491653 100644
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -46,6 +46,7 @@ commonSources := \
record_stream.c \
process_name.c \
properties.c \
+ qsort_r_compat.c \
threads.c \
sched_policy.c \
iosched_policy.c \