mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
lib/igt_display: workaround a name conflict in Android
PLANE_A/PLANE_B are used by libdrm's i915_drm.h in Android. v2: Changes suggested by Daniel Vetter and Damien Lespiau: - Pimp up comment with a FIXME. - Reword commit message. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
235ff9cf34
commit
25be105d7f
@ -33,6 +33,10 @@ enum pipe {
|
||||
};
|
||||
#define pipe_name(p) ((p) + 'A')
|
||||
|
||||
/* FIXME: i915_drm.h on Android pollutes the general namespace. */
|
||||
#undef PLANE_A
|
||||
#undef PLANE_B
|
||||
|
||||
enum plane {
|
||||
PLANE_A = 0,
|
||||
PLANE_B,
|
||||
|
Loading…
x
Reference in New Issue
Block a user