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
parent
1af780cc27
commit
1f1b61d491
|
@ -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: */
|
||||
|
|
Loading…
Reference in New Issue