From 1f1b61d49128716f9808be23af20f54f1c26a573 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 21 Jul 2016 13:19:35 -0400 Subject: [PATCH] freedreno: fix android build break The 'deprecated' #define was causing problems with bionic system headers which used __attribute__((deprecated)). Signed-off-by: Rob Clark Tested-by: Rob Herring --- freedreno/freedreno_drmif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freedreno/freedreno_drmif.h b/freedreno/freedreno_drmif.h index af5e1dac..2d913e6c 100644 --- a/freedreno/freedreno_drmif.h +++ b/freedreno/freedreno_drmif.h @@ -33,9 +33,9 @@ #include #if defined(__GNUC__) -# define deprecated __attribute__((__deprecated__)) +# define drm_deprecated __attribute__((__deprecated__)) #else -# define deprecated +# define drm_deprecated #endif /* an empty marker for things that will be deprecated in the future: */