diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-07-21 13:19:35 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2016-07-21 14:10:45 -0400 |
commit | 1f1b61d49128716f9808be23af20f54f1c26a573 (patch) | |
tree | 5e041ceba5537f96272969a052d620ffdd9a0926 | |
parent | 1af780cc2710ddcbee78764d856ef5d1cce3e313 (diff) |
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>
-rw-r--r-- | freedreno/freedreno_drmif.h | 4 |
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 @@ #include <stdint.h> #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: */ |