Add Network impl for PS4

This commit is contained in:
Wojtek Figat
2021-05-19 14:49:10 +02:00
parent 3363f6ac0d
commit d7e2ee986b
4 changed files with 7 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
#elif PLATFORM_LINUX
#include "Unix/UnixNetwork.h"
#elif PLATFORM_PS4
#include "Base/NetworkBase.h"
#include "Platforms/PS4/Engine/Platform/PS4Network.h"
#elif PLATFORM_XBOX_SCARLETT
#include "Win32/Win32Network.h"
#elif PLATFORM_ANDROID

View File

@@ -91,8 +91,8 @@ class PS4Thread;
typedef PS4Thread Thread;
class PS4Window;
typedef PS4Window Window;
class NetworkBase;
typedef NetworkBase Network;
class PS4Network;
typedef PS4Network Network;
#elif PLATFORM_XBOX_SCARLETT

View File

@@ -1,6 +1,6 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#if PLATFORM_UNIX
#if PLATFORM_UNIX && !PLATFORM_PS4
#include "UnixNetwork.h"
#include "Engine/Core/Log.h"

View File

@@ -16,6 +16,9 @@
#include "Engine/Platform/Thread.h"
#include "Engine/Scripting/MException.h"
#include "Engine/Profiler/ProfilerCPU.h"
#ifdef USE_MONO_AOT_MODULE
#include "Engine/Core/Types/TimeSpan.h"
#endif
#include <ThirdParty/mono-2.0/mono/jit/jit.h>
#include <ThirdParty/mono-2.0/mono/utils/mono-counters.h>
#include <ThirdParty/mono-2.0/mono/utils/mono-logger.h>