From e8174032d9395dac9de600c442b140b6323d2f14 Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 31 Aug 2020 10:22:03 -0400 Subject: [PATCH] maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict On Apple platforms, FALSE and TRUE are defined as macros by , which is included by various system headers. Note that there appear to be no actual users of the names to fix up. --- src/video_core/engines/maxwell_dma.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index 50f445efcd..7a53593937 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.h @@ -72,8 +72,8 @@ public: struct RenderEnable { enum class Mode : u32 { - FALSE = 0, - TRUE = 1, + _FALSE = 0, + _TRUE = 1, CONDITIONAL = 2, RENDER_IF_EQUAL = 3, RENDER_IF_NOT_EQUAL = 4,