aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark2016-07-21 12:19:35 -0500
committerRob Clark2016-07-21 13:10:45 -0500
commit1f1b61d49128716f9808be23af20f54f1c26a573 (patch)
tree5e041ceba5537f96272969a052d620ffdd9a0926 /freedreno
parent1af780cc2710ddcbee78764d856ef5d1cce3e313 (diff)
downloadexternal-libgbm-1f1b61d49128716f9808be23af20f54f1c26a573.tar.gz
external-libgbm-1f1b61d49128716f9808be23af20f54f1c26a573.tar.xz
external-libgbm-1f1b61d49128716f9808be23af20f54f1c26a573.zip
freedreno: fix android build break
The 'deprecated' #define was causing problems with bionic system headers which used __attribute__((deprecated)). Signed-off-by: Rob Clark <robclark@freedesktop.org> Tested-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'freedreno')
-rw-r--r--freedreno/freedreno_drmif.h4
1 files 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 @@
33#include <stdint.h> 33#include <stdint.h>
34 34
35#if defined(__GNUC__) 35#if defined(__GNUC__)
36# define deprecated __attribute__((__deprecated__)) 36# define drm_deprecated __attribute__((__deprecated__))
37#else 37#else
38# define deprecated 38# define drm_deprecated
39#endif 39#endif
40 40
41/* an empty marker for things that will be deprecated in the future: */ 41/* an empty marker for things that will be deprecated in the future: */