From 77f44f1600e0ff42795ed4998ec07dd870efc250 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Sat, 23 Jul 2022 14:22:44 -0400 Subject: [PATCH] MTLMain: Include TargetConditionals --- Source/Core/VideoBackends/Metal/MTLMain.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/VideoBackends/Metal/MTLMain.mm b/Source/Core/VideoBackends/Metal/MTLMain.mm index 18e800e547..15cce280b0 100644 --- a/Source/Core/VideoBackends/Metal/MTLMain.mm +++ b/Source/Core/VideoBackends/Metal/MTLMain.mm @@ -3,6 +3,9 @@ #include "VideoBackends/Metal/VideoBackend.h" +// This must be included before we use any TARGET_OS_* macros. +#include + #if TARGET_OS_OSX #include #endif