Merge "libcutils: Mac build pulls in __unused from sys/cdefs.h"
This commit is contained in:
commit
1e10b661cc
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue