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>
main
Rob Clark 2016-07-21 13:19:35 -04:00
parent 1af780cc27
commit 1f1b61d491
1 changed files with 2 additions and 2 deletions

View File

@ -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: */