MTLMain: Include TargetConditionals

This commit is contained in:
OatmealDome 2022-07-23 14:22:44 -04:00
parent b32b27ae9a
commit 77f44f1600
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
#include "VideoBackends/Metal/VideoBackend.h"
// This must be included before we use any TARGET_OS_* macros.
#include <TargetConditionals.h>
#if TARGET_OS_OSX
#include <AppKit/AppKit.h>
#endif