diff options
author | Mohammed Habibulla <moch@google.com> | 2016-07-22 23:56:53 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-07-22 23:56:53 +0000 |
commit | 892fe7e667dbb4c86967c79ed524082b9f4662f1 (patch) | |
tree | 058baad8fec282a61f3912a9c80b59f57ae58471 | |
parent | 9d97430478e42f35a5e00e00766c0c8279cf03dc (diff) | |
parent | bf215a6d8d17433b6ada853f0f9ba29ebd07b505 (diff) | |
download | intel-892fe7e667dbb4c86967c79ed524082b9f4662f1.tar.gz |
Define __UNCONST to build NetBSD source.
am: bf215a6d8d
Change-Id: I3ba01f68a479f3f68f2e27e80fac7ed3746c422f
-rw-r--r-- | peripheral/libmraa/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/peripheral/libmraa/Android.mk b/peripheral/libmraa/Android.mk index ccaa41d..e6e1376 100644 --- a/peripheral/libmraa/Android.mk +++ b/peripheral/libmraa/Android.mk @@ -40,6 +40,7 @@ LOCAL_SRC_FILES := \ src/x86/up.c # glob.c pulled in from NetBSD project (BSD 3-clause License) +LOCAL_CFLAGS += '-D__UNCONST(a)=((void *)(unsigned long)(const void *)(a))' LOCAL_SRC_FILES += \ src/glob/glob.c |