diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-05-02 12:23:56 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-02 19:50:20 +0000 |
commit | edc70938beecf7390f5f9b0dee4f6c31a68e1f0a (patch) | |
tree | 2bc5a54f027ac48f1d4619c951f5c52761e4c2ec | |
parent | a32e01d2f4292974c55d612819ef028d95dcf831 (diff) | |
download | system_core-edc70938beecf7390f5f9b0dee4f6c31a68e1f0a.zip system_core-edc70938beecf7390f5f9b0dee4f6c31a68e1f0a.tar.gz system_core-edc70938beecf7390f5f9b0dee4f6c31a68e1f0a.tar.bz2 |
libcutils: Mac build pulls in __unused from sys/cdefs.h
Change-Id: I2da8a52e07cef0b749f7e60709536e98bd96660e
-rw-r--r-- | libcutils/ashmem-host.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcutils/ashmem-host.c b/libcutils/ashmem-host.c index cfb5d66..7873964 100644 --- a/libcutils/ashmem-host.c +++ b/libcutils/ashmem-host.c @@ -32,7 +32,9 @@ #include <cutils/ashmem.h> +#ifndef __unused #define __unused __attribute__((__unused__)) +#endif int ashmem_create_region(const char *ignored __unused, size_t size) { |