summaryrefslogtreecommitdiff
path: root/Android.common.mk
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-11-07 15:00:24 +0000
committerEric Engestrom <eric@engestrom.ch>2020-01-23 17:00:12 +0000
commit074947ee4be95f9b88558ab052e46cb0653a8a8f (patch)
treeafc56e1dc721b788b1c427457ddc8dd39e286b9a /Android.common.mk
parent077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 (diff)
downloaddrm-074947ee4be95f9b88558ab052e46cb0653a8a8f.tar.gz
meson: always define whether headers exist
Combined with -Wundef (added in 75758d2ccf & enforced in ba17673eed), this provides absolute safety against #ifdef typos. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index d0e5d559..37c2b23a 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -1,6 +1,9 @@
# XXX: Consider moving these to config.h analogous to autoconf.
LOCAL_CFLAGS += \
-DMAJOR_IN_SYSMACROS=1 \
+ -DHAVE_ALLOCA_H=0 \
+ -DHAVE_SYS_SELECT_H=0 \
+ -DHAVE_SYS_SYSCTL_H=0 \
-DHAVE_VISIBILITY=1 \
-fvisibility=hidden \
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1