Add Mac platform
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_WINDOWS
|
||||
#include "Win32/Win32Thread.h"
|
||||
#elif PLATFORM_UWP
|
||||
#if PLATFORM_WINDOWS || PLATFORM_UWP || PLATFORM_XBOX_ONE || PLATFORM_XBOX_SCARLETT
|
||||
#include "Win32/Win32Thread.h"
|
||||
#elif PLATFORM_LINUX
|
||||
#include "Linux/LinuxThread.h"
|
||||
@@ -12,14 +10,12 @@
|
||||
#include "Platforms/PS4/Engine/Platform/PS4Thread.h"
|
||||
#elif PLATFORM_PS5
|
||||
#include "Platforms/PS5/Engine/Platform/PS5Thread.h"
|
||||
#elif PLATFORM_XBOX_ONE
|
||||
#include "Win32/Win32Thread.h"
|
||||
#elif PLATFORM_XBOX_SCARLETT
|
||||
#include "Win32/Win32Thread.h"
|
||||
#elif PLATFORM_ANDROID
|
||||
#include "Android/AndroidThread.h"
|
||||
#elif PLATFORM_SWITCH
|
||||
#include "Platforms/Switch/Engine/Platform/SwitchThread.h"
|
||||
#elif PLATFORM_MAC
|
||||
#include "Mac/MacThread.h"
|
||||
#else
|
||||
#error Missing Thread implementation!
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user