diff options
author | Eric Engestrom <eric.engestrom@intel.com> | 2018-11-07 15:00:24 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2020-01-23 17:00:12 +0000 |
commit | 074947ee4be95f9b88558ab052e46cb0653a8a8f (patch) | |
tree | afc56e1dc721b788b1c427457ddc8dd39e286b9a /Android.common.mk | |
parent | 077e64292cd08bcd84d78b0d5e33bb0fc0cd4078 (diff) | |
download | drm-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.mk | 3 |
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 |